PATCH: -gstabs+ removal

Marcus Meissner meissner at suse.de
Thu Jun 19 17:21:06 CDT 2003


Hi,

This removes -gstabs+ if we specify --disable-debug.

Ciao, Marcus

Changelog:
	Remove -gstabs+ if --disable-debug is specified.

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"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030620/e26c1f0d/attachment.pgp


More information about the wine-patches mailing list