aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Dremann <dremann@gmail.com>2014-06-16 15:19:08 -0400
committerZachary Dremann <dremann@gmail.com>2014-06-16 15:19:08 -0400
commitec98be668549d11e09cafd833dd009351188327d (patch)
tree25192065d984ca2c3f46da6a130ed23c6144bbac
parentf35c37e11c508c7d103fee9d7b756e16e9f2fc2e (diff)
downloadrusty-irc-ec98be668549d11e09cafd833dd009351188327d.tar.gz
rusty-irc-ec98be668549d11e09cafd833dd009351188327d.zip
Don't enable debug symbols by default.
rustc is currently ICE'ing on the client example when compiling with -g. No need to fail the build for this.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 199af57..6c8ce1e 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ COMPILER = rustc
# For release:
# COMPILER_FLAGS = -O
# For debugging:
- COMPILER_FLAGS = -g --opt-level=0
+ COMPILER_FLAGS = -Z no-opt --opt-level=0
RUSTDOC = rustdoc