aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Secrist <[email protected]>2011-10-16 21:58:36 -0600
committerRandy Secrist <[email protected]>2011-10-16 21:58:36 -0600
commit963a0c5a8d92b8fb0a9b3a38766a280b52445285 (patch)
tree7471dd8d1cfb54006f837d3bfbf9ce2a72dee0a1
parent9b0152a3ffd007003d9bd3144efbdf53b1d2b51f (diff)
downloadkerl-963a0c5a8d92b8fb0a9b3a38766a280b52445285.tar.gz
kerl-963a0c5a8d92b8fb0a9b3a38766a280b52445285.tar.bz2
kerl-963a0c5a8d92b8fb0a9b3a38766a280b52445285.zip
Set the -O0 option for using llvm under lion_support.
-rwxr-xr-xkerl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kerl b/kerl
index de357b0..56852c3 100755
--- a/kerl
+++ b/kerl
@@ -292,7 +292,7 @@ do_build()
Darwin)
if [ `gcc --version | grep llvm | wc -l` = "1" ]; then
if lion_support $1; then
- true
+ KERL_CONFIGURE_OPTIONS="CFLAGS=-O0 $KERL_CONFIGURE_OPTIONS"
else
if [ -x "`which gcc-4.2`" ]; then
KERL_CONFIGURE_OPTIONS="CC=gcc-4.2 $KERL_CONFIGURE_OPTIONS"