Skip to content

Commit

Permalink
Set the -O0 option for using llvm under lion_support.
Browse files Browse the repository at this point in the history
  • Loading branch information
scalone-cw committed May 9, 2024
1 parent 7be2d38 commit 8b07abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kerl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8b07abc

Please sign in to comment.