summaryrefslogtreecommitdiff
path: root/multimedia/mpgtx/patches/mpgtx-1.3.1-dont-ignore-cxx-flags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mpgtx/patches/mpgtx-1.3.1-dont-ignore-cxx-flags.patch')
-rw-r--r--multimedia/mpgtx/patches/mpgtx-1.3.1-dont-ignore-cxx-flags.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/mpgtx/patches/mpgtx-1.3.1-dont-ignore-cxx-flags.patch b/multimedia/mpgtx/patches/mpgtx-1.3.1-dont-ignore-cxx-flags.patch
new file mode 100644
index 0000000000..dc53dfd7e6
--- /dev/null
+++ b/multimedia/mpgtx/patches/mpgtx-1.3.1-dont-ignore-cxx-flags.patch
@@ -0,0 +1,12 @@
+diff -Naur mpgtx-1.3.1.orig/configure mpgtx-1.3.1/configure
+--- mpgtx-1.3.1.orig/configure 2010-11-28 11:58:58.000000000 +0100
++++ mpgtx-1.3.1/configure 2010-11-28 12:00:00.000000000 +0100
+@@ -11,7 +11,7 @@
+ #compiler flags
+ common_cflags="-Wall"
+ devel_cflags="-g -Werror -fno-builtin"
+-optimization_cflags="-O3"
++optimization_cflags="${CXXFLAGS}"
+ release_cflags=$optimization_cflags
+ OFLAGS="-ansi"
+ cflags=$common_cflags