aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-04-08 16:29:19 -0700
committerGraydon Hoare <[email protected]>2011-04-08 17:28:14 -0700
commit19ebc0f376eb4c1128ba8e43be42ab2c41292eae (patch)
tree9bfad3c12df9a66ee844c587b25dfec262f7c267 /Makefile.in
parentFix codemap.lookup_pos (diff)
downloadrust-19ebc0f376eb4c1128ba8e43be42ab2c41292eae.tar.xz
rust-19ebc0f376eb4c1128ba8e43be42ab2c41292eae.zip
Actually disable optimize in --disable-optimize case, duh.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 655dfa0e..a7cfc28a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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