diff options
Diffstat (limited to 'audio/mac/files/patch-configure')
-rw-r--r-- | audio/mac/files/patch-configure | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/mac/files/patch-configure b/audio/mac/files/patch-configure new file mode 100644 index 000000000000..531d0ba82e43 --- /dev/null +++ b/audio/mac/files/patch-configure @@ -0,0 +1,20 @@ +--- configure.orig 2010-07-22 17:51:17 UTC ++++ configure +@@ -3075,7 +3075,7 @@ fi + + + # Checks for programs. +-CXXFLAGS="$CXXFLAGS -O3 -Wall -pedantic -Wno-long-long" ++CXXFLAGS="$CXXFLAGS -Wall -pedantic -Wno-long-long" + ac_ext=cpp + ac_cpp='$CXXCPP $CPPFLAGS' + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +@@ -11215,7 +11215,7 @@ striplib= + old_striplib= + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 + $as_echo_n "checking whether stripping libraries is possible... " >&6; } +-if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then ++if test -n "$STRIP" && $STRIP -V 2>&1 | $EGREP "GNU|elftoolchain" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |