Actually disable optimize in --disable-optimize case, duh.
This commit is contained in:
parent
c0d0b717ee
commit
19ebc0f376
@ -15,7 +15,8 @@ CFG_GCC_CFLAGS := -fno-strict-aliasing
|
||||
CFG_GCC_LINK_FLAGS :=
|
||||
CFG_BOOT_FLAGS := $(BOOT_FLAGS)
|
||||
ifdef CFG_DISABLE_OPTIMIZE
|
||||
CFG_RUSTC_FLAGS := -O
|
||||
$(info cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE))
|
||||
CFG_RUSTC_FLAGS := -nowarn
|
||||
else
|
||||
CFG_RUSTC_FLAGS := -nowarn -O
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user