mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
flac: Patched flac's configure so that it does not modifies CXXFLAGS the same as CFLAGS
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
f58afb85ce
commit
9f77291e10
17
packages/audio/flac/patches/flac-1.2.1-cxxflags.diff
Normal file
17
packages/audio/flac/patches/flac-1.2.1-cxxflags.diff
Normal file
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user