summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2019-12-28 16:03:36 +0100
committerUlrich Müller <ulm@gentoo.org>2019-12-28 16:03:36 +0100
commitc8f0330b4dfec35ca9a9d7943582580359c6705a (patch)
tree35a0c8a30cffab7b96c3ec89cb0ca29cb0363126 /patchsets/motif/2.3.8/06_all_cflags.patch
parentDrop motif-2.2.3 patchset. (diff)
downloadulm-c8f0330b4dfec35ca9a9d7943582580359c6705a.tar.gz
ulm-c8f0330b4dfec35ca9a9d7943582580359c6705a.tar.bz2
ulm-c8f0330b4dfec35ca9a9d7943582580359c6705a.zip
Rename motif patchset from 2.3.6 to 2.3.8.
No change in file content. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'patchsets/motif/2.3.8/06_all_cflags.patch')
-rw-r--r--patchsets/motif/2.3.8/06_all_cflags.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patchsets/motif/2.3.8/06_all_cflags.patch b/patchsets/motif/2.3.8/06_all_cflags.patch
new file mode 100644
index 0000000..681783d
--- /dev/null
+++ b/patchsets/motif/2.3.8/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