Index: work/aclocal/optflags.m4 =================================================================== --- work.orig/aclocal/optflags.m4 +++ work/aclocal/optflags.m4 @@ -61,7 +61,7 @@ OPT_FLAGS="$OPT_FLAGS -pipe" # LARGEFILE_FLAGS="`getconf LFS_CFLAGS`" LARGEFILE_FLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" -CXXFLAGS="-g -D_REENTRANT $LARGEFILE_FLAGS" +CXXFLAGS="$CXXFLAGS -D_REENTRANT $LARGEFILE_FLAGS" if test x"$GXX" = xyes ; then CXXFLAGS="$CXXFLAGS -Wall" fi