summaryrefslogtreecommitdiffstats
path: root/app-accessibility/speech-tools/files/speech-tools-2.5-all-mixed-cxxflag-cflag-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-accessibility/speech-tools/files/speech-tools-2.5-all-mixed-cxxflag-cflag-fix.patch')
-rw-r--r--app-accessibility/speech-tools/files/speech-tools-2.5-all-mixed-cxxflag-cflag-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-accessibility/speech-tools/files/speech-tools-2.5-all-mixed-cxxflag-cflag-fix.patch b/app-accessibility/speech-tools/files/speech-tools-2.5-all-mixed-cxxflag-cflag-fix.patch
new file mode 100644
index 00000000..796fdf9c
--- /dev/null
+++ b/app-accessibility/speech-tools/files/speech-tools-2.5-all-mixed-cxxflag-cflag-fix.patch
@@ -0,0 +1,12 @@
+diff -uNr speech_tools.orig/config/compilers/gcc_defaults.mak speech_tools/config/compilers/gcc_defaults.mak
+--- speech_tools.orig/config/compilers/gcc_defaults.mak 2012-11-28 18:33:27.000000000 -0500
++++ speech_tools/config/compilers/gcc_defaults.mak 2012-11-28 18:33:46.000000000 -0500
+@@ -48,7 +48,7 @@
+ COMPILER_VERSION_COMMAND=$(CXX) -v 2>&1 | tail -1 | sed -e 's/^....//'
+
+ CFLAGS = $(GCC_SYSTEM_OPTIONS) $(CC_OTHER_FLAGS)
+-CXXFLAGS = $(GCC_SYSTEM_OPTIONS) -fno-implicit-templates $(CC_OTHER_FLAGS) $(OMP_OPTS) $(OMP_DEFS)
++CXXFLAGS = $(GCC_SYSTEM_OPTIONS) -fno-implicit-templates $(CXX_OTHER_FLAGS) $(OMP_OPTS) $(OMP_DEFS)
+
+ DEBUG_CCFLAGS = -g
+ DEBUG_CXXFLAGS = -g