PATCH: -gstabs+ drop --disable-debug
Marcus Meissner
marcus at jet.franken.de
Thu Jun 19 17:13:56 CDT 2003
Hi,
Do not include -gstabs+ if we specify --disable-debug (or --enable-debug=no).
Ciao, Marcus
Changelog:
--disable-debug makes the -gstabs+ option usage disappear.
Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.160
diff -u -r1.160 configure.ac
--- configure.ac 21 May 2003 18:50:53 -0000 1.160
+++ configure.ac 19 Jun 2003 22:12:25 -0000
@@ -677,6 +677,8 @@
EXTRACFLAGS="$EXTRACFLAGS -mpreferred-stack-boundary=2"
fi
+if test "x$enable_debug" != "xno"
+then
dnl Check for -gstabs+ option
AC_CACHE_CHECK([for gcc -gstabs+ support], ac_cv_c_gcc_gstabs,
[WINE_TRY_CFLAGS([-gstabs+],ac_cv_c_gcc_gstabs="yes", ac_cv_c_gcc_gstabs="no")])
@@ -684,6 +686,7 @@
then
EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
fi
+fi
dnl Check for noisy string.h
saved_CFLAGS="$CFLAGS"
More information about the wine-patches
mailing list