diff options
Diffstat (limited to 'patchsets/motif/2.3.6/06_all_cflags.patch')
-rw-r--r-- | patchsets/motif/2.3.6/06_all_cflags.patch | 14 |
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 |