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