Skip to content

Commit 19ebc0f

Browse files
committed
Actually disable optimize in --disable-optimize case, duh.
1 parent c0d0b71 commit 19ebc0f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ CFG_GCC_CFLAGS := -fno-strict-aliasing
1515
CFG_GCC_LINK_FLAGS :=
1616
CFG_BOOT_FLAGS := $(BOOT_FLAGS)
1717
ifdef CFG_DISABLE_OPTIMIZE
18-
CFG_RUSTC_FLAGS := -O
18+
$(info cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE))
19+
CFG_RUSTC_FLAGS := -nowarn
1920
else
2021
CFG_RUSTC_FLAGS := -nowarn -O
2122
endif

0 commit comments

Comments
 (0)