aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorMarijn Haverbeke <[email protected]>2011-04-08 00:41:24 +0200
committerMarijn Haverbeke <[email protected]>2011-04-08 00:41:52 +0200
commit973023030e7c0ca9814bc60f389bb8d75923edc7 (patch)
treec4e4b24902b899a1f9815ca30edaaf0d6a2f8915 /Makefile.in
parentUpdated test to use 'check' rather than just logging results. (diff)
downloadrust-973023030e7c0ca9814bc60f389bb8d75923edc7.tar.xz
rust-973023030e7c0ca9814bc60f389bb8d75923edc7.zip
add -O2 when compiling rt, fix warnings triggered by optimizer
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 988f56a6..8b4404e1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -11,7 +11,7 @@ endif
CFG_INFO := $(info cfg: building on $(CFG_OSTYPE) $(CFG_CPUTYPE))
-CFG_GCC_CFLAGS :=
+CFG_GCC_CFLAGS := -O2 -fno-strict-aliasing
CFG_GCC_LINK_FLAGS :=
CFG_BOOT_FLAGS := $(BOOT_FLAGS)
CFG_RUSTC_FLAGS := -nowarn -O