summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/stk/files/stk-4.5.0/050_all_cxxflags.patch')
-rw-r--r--media-libs/stk/files/stk-4.5.0/050_all_cxxflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-libs/stk/files/stk-4.5.0/050_all_cxxflags.patch b/media-libs/stk/files/stk-4.5.0/050_all_cxxflags.patch
new file mode 100644
index 000000000000..d2cc4e5be330
--- /dev/null
+++ b/media-libs/stk/files/stk-4.5.0/050_all_cxxflags.patch
@@ -0,0 +1,13 @@
+Index: stk-4.5.0/configure.ac
+===================================================================
+--- stk-4.5.0.orig/configure.ac
++++ stk-4.5.0/configure.ac
+@@ -100,7 +100,7 @@ fi
+ CPPFLAGS="$CPPFLAGS $cppflag"
+
+ # For debugging and optimization ... overwrite default because it has both -g and -O2
+-CXXFLAGS="$cxxflag"
++CXXFLAGS="$CXXFLAGS $cxxflag"
+
+ # Check compiler and use -Wall if gnu.
+ if [test $GXX = "yes" ;] then