summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2017-01-03 10:50:14 +0100
committerUlrich Müller <ulm@gentoo.org>2017-01-03 10:50:14 +0100
commit3e875144bfbf95c3e65d5a491ec4762ee63ce3af (patch)
tree4a19429ca2b6e157a22428d51472123794ab2df0 /patchsets/motif/2.3.6/06_all_cflags.patch
parentPort to musl libc. (diff)
downloadulm-3e875144bfbf95c3e65d5a491ec4762ee63ce3af.tar.gz
ulm-3e875144bfbf95c3e65d5a491ec4762ee63ce3af.tar.bz2
ulm-3e875144bfbf95c3e65d5a491ec4762ee63ce3af.zip
Patchset for motif-2.3.6.motif-2.3.6-patches-2
Diffstat (limited to 'patchsets/motif/2.3.6/06_all_cflags.patch')
-rw-r--r--patchsets/motif/2.3.6/06_all_cflags.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patchsets/motif/2.3.6/06_all_cflags.patch b/patchsets/motif/2.3.6/06_all_cflags.patch
new file mode 100644
index 0000000..681783d
--- /dev/null
+++ b/patchsets/motif/2.3.6/06_all_cflags.patch
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/604242
+Do not add -g to the user's CFLAGS.
+
+--- motif-2.3.6-orig/configure.ac
++++ motif-2.3.6/configure.ac
+@@ -158,7 +158,7 @@
+
+ if test x$GCC = xyes
+ then
+- CFLAGS="$CFLAGS -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment"
++ CFLAGS="$CFLAGS -Wall -fno-strict-aliasing -Wno-unused -Wno-comment"
+ if test ` $CC -dumpversion | sed -e 's/\(^.\).*/\1/'` = "4" ; then
+ CFLAGS="$CFLAGS -fno-tree-ter"
+ fi