From 9f77291e10fc1c9b351640ab6198707214d4d0a3 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 10 Jul 2010 15:03:48 +0200 Subject: [PATCH] flac: Patched flac's configure so that it does not modifies CXXFLAGS the same as CFLAGS Signed-off-by: Stephan Raue --- .../audio/flac/patches/flac-1.2.1-cxxflags.diff | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 packages/audio/flac/patches/flac-1.2.1-cxxflags.diff diff --git a/packages/audio/flac/patches/flac-1.2.1-cxxflags.diff b/packages/audio/flac/patches/flac-1.2.1-cxxflags.diff new file mode 100644 index 0000000000..bf600b25b5 --- /dev/null +++ b/packages/audio/flac/patches/flac-1.2.1-cxxflags.diff @@ -0,0 +1,17 @@ +diff -Naur flac-1.2.1-old/configure.in flac-1.2.1-new/configure.in +--- flac-1.2.1-old/configure.in 2007-09-13 08:48:42.000000000 -0700 ++++ flac-1.2.1-new/configure.in 2010-07-04 17:16:02.000000000 -0700 +@@ -297,11 +297,13 @@ + if test "x$debug" = xtrue; then + CPPFLAGS="-DDEBUG $CPPFLAGS" + CFLAGS="-g $CFLAGS" ++ CXXFLAGS="-g $CXXFLAGS" + else + CPPFLAGS="-DNDEBUG $CPPFLAGS" + if test "x$GCC" = xyes; then + CPPFLAGS="-DFLaC__INLINE=__inline__ $CPPFLAGS" + CFLAGS="-O3 -funroll-loops -finline-functions -Wall -W -Winline $CFLAGS" ++ CXXFLAGS="-O3 -funroll-loops -finline-functions -Wall -W -Winline $CXXFLAGS" + fi + fi +