Skip to content

Commit

Permalink
Make sure no optimizations are used in debug mode on MacOS X.
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosefr committed Mar 14, 2015
1 parent 11c5d7b commit ac9b0a8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion kyotocabinet/configure
Original file line number Diff line number Diff line change
Expand Up @@ -4566,7 +4566,7 @@ then
fi
# Work around of bugs of some environments
if uname | grep Darwin >config.tmp
if test "$enable_opt" != "no" && test "$enable_debug" != "yes" && uname | grep Darwin >config.tmp
then
MYCFLAGS="$MYCFLAGS -Os"
MYCXXFLAGS="$MYCXXFLAGS -Os"
Expand Down
2 changes: 1 addition & 1 deletion kyotocabinet/configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ then
fi

# Work around of bugs of some environments
if uname | grep Darwin >config.tmp
if test "$enable_opt" != "no" && test "$enable_debug" != "yes" && uname | grep Darwin >config.tmp
then
MYCFLAGS="$MYCFLAGS -Os"
MYCXXFLAGS="$MYCXXFLAGS -Os"
Expand Down
2 changes: 1 addition & 1 deletion kyototycoon/configure
Original file line number Diff line number Diff line change
Expand Up @@ -4603,7 +4603,7 @@ then
fi

# Work around of bugs of some environments
if uname | grep Darwin >config.tmp
if test "$enable_opt" != "no" && test "$enable_debug" != "yes" && uname | grep Darwin >config.tmp
then
MYCFLAGS="$MYCFLAGS -Os"
MYCXXFLAGS="$MYCXXFLAGS -Os"
Expand Down
2 changes: 1 addition & 1 deletion kyototycoon/configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ then
fi

# Work around of bugs of some environments
if uname | grep Darwin >config.tmp
if test "$enable_opt" != "no" && test "$enable_debug" != "yes" && uname | grep Darwin >config.tmp
then
MYCFLAGS="$MYCFLAGS -Os"
MYCXXFLAGS="$MYCXXFLAGS -Os"
Expand Down

0 comments on commit ac9b0a8

Please sign in to comment.