From 8b07abc2854f7677adca415218fabb27d094b50f Mon Sep 17 00:00:00 2001 From: Thiago Scalone <155578946+scalone-cw@users.noreply.github.com> Date: Sun, 16 Oct 2011 21:58:36 -0600 Subject: [PATCH] Set the -O0 option for using llvm under lion_support. --- kerl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"