summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2009-04-19 20:23:11 +0000
committerMark Loeser <halcy0n@gentoo.org>2009-04-19 20:23:11 +0000
commit24f0c919334373b793cd9abcb14f5810a90dd9a8 (patch)
tree65a902b2f0b3191a29af5d35e8b26eb273d29b38 /dev-cpp/libmxmlplus/files/libmxmlplus-0.9.2_p20080323-respect-cxxflags.patch
parentPatch so that -fpermissive is not needed to build. Thanks to Wilfried Holzke... (diff)
downloadgentoo-2-24f0c919334373b793cd9abcb14f5810a90dd9a8.tar.gz
gentoo-2-24f0c919334373b793cd9abcb14f5810a90dd9a8.tar.bz2
gentoo-2-24f0c919334373b793cd9abcb14f5810a90dd9a8.zip
Fix ebuild to respect CXXFLAGS, thanks to Diego E. 'Flameeyes' Pettenò <flameeyes AT gentoo DOT org> for reporting; bug #240167
(Portage version: 2.2_rc30/cvs/Linux i686)
Diffstat (limited to 'dev-cpp/libmxmlplus/files/libmxmlplus-0.9.2_p20080323-respect-cxxflags.patch')
-rw-r--r--dev-cpp/libmxmlplus/files/libmxmlplus-0.9.2_p20080323-respect-cxxflags.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-cpp/libmxmlplus/files/libmxmlplus-0.9.2_p20080323-respect-cxxflags.patch b/dev-cpp/libmxmlplus/files/libmxmlplus-0.9.2_p20080323-respect-cxxflags.patch
new file mode 100644
index 000000000000..ae200ade5447
--- /dev/null
+++ b/dev-cpp/libmxmlplus/files/libmxmlplus-0.9.2_p20080323-respect-cxxflags.patch
@@ -0,0 +1,16 @@
+diff -ur libmxmlplus-0.9.2_p20080323-orig/configure.ac libmxmlplus-0.9.2_p20080323/configure.ac
+--- libmxmlplus-0.9.2_p20080323-orig/configure.ac 2009-04-19 16:14:53.000000000 -0400
++++ libmxmlplus-0.9.2_p20080323/configure.ac 2009-04-19 16:17:12.000000000 -0400
+@@ -63,12 +63,6 @@
+ AC_ARG_ENABLE(doc,
+ AS_HELP_STRING(--enable-doc, Enable compilation of deocumentation) )
+
+-if test x$enable_debug = xyes; then
+- CXXFLAGS="-g"
+-else
+- CXXFLAGS="-O2"
+-fi
+-
+ dnl--------------------------------
+ dnl settings for makefiles
+ dnl