diff options
| author | Graydon Hoare <[email protected]> | 2011-04-08 16:29:19 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-04-08 17:28:14 -0700 |
| commit | 19ebc0f376eb4c1128ba8e43be42ab2c41292eae (patch) | |
| tree | 9bfad3c12df9a66ee844c587b25dfec262f7c267 | |
| parent | Fix codemap.lookup_pos (diff) | |
| download | rust-19ebc0f376eb4c1128ba8e43be42ab2c41292eae.tar.xz rust-19ebc0f376eb4c1128ba8e43be42ab2c41292eae.zip | |
Actually disable optimize in --disable-optimize case, duh.
| -rw-r--r-- | Makefile.in | 3 |
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 |