diff options
author | Yurii Rashkovskii <[email protected]> | 2011-10-17 11:45:36 -0700 |
---|---|---|
committer | Yurii Rashkovskii <[email protected]> | 2011-10-17 11:45:36 -0700 |
commit | c753a124b880f0521b8d360d8dd62e104956649d (patch) | |
tree | 7471dd8d1cfb54006f837d3bfbf9ce2a72dee0a1 | |
parent | 66e1f1bd30961d0716eeff0f69483d8ca44fd03f (diff) | |
parent | 963a0c5a8d92b8fb0a9b3a38766a280b52445285 (diff) | |
download | kerl-c753a124b880f0521b8d360d8dd62e104956649d.tar.gz kerl-c753a124b880f0521b8d360d8dd62e104956649d.tar.bz2 kerl-c753a124b880f0521b8d360d8dd62e104956649d.zip |
Merge pull request #13 from randysecrist/master
XCode 4.2 compatibility
-rwxr-xr-x | kerl | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -292,12 +292,12 @@ 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 + if [ -x "`which gcc-4.2`" ]; then KERL_CONFIGURE_OPTIONS="CC=gcc-4.2 $KERL_CONFIGURE_OPTIONS" else - KERL_CONFIGURE_OPTIONS="CFLAGS=-O0 $KERL_CONFIGURE_OPTIONS" + KERL_CONFIGURE_OPTIONS="CC=llvm-gcc-4.2 CFLAGS=-O0 $KERL_CONFIGURE_OPTIONS" fi fi fi |