X Strike Force X.Org X11 SVN commit: r452 - trunk/debian
Author: branden
Date: 2005-07-31 16:48:58 -0500 (Sun, 31 Jul 2005)
New Revision: 452
Modified:
trunk/debian/rules
Log:
Continue r451.
+ Stop referring to a now-nonexistent comment.
+ Set DefaultGcc2OptimizeOpt to -O0 if DEB_BUILD_OPTS contains the string
"noopt" (per Debian Policy section 10.1).
Modified: trunk/debian/rules
===================================================================
--- trunk/debian/rules 2005-07-31 21:43:31 UTC (rev 451)
+++ trunk/debian/rules 2005-07-31 21:48:58 UTC (rev 452)
@@ -67,10 +67,10 @@
endif
# Determine whether we're compiling with optimization turned off; does
-# DEB_BUILD_OPTIONS contain the "noopt" flag? (see XXX comment above)
+# DEB_BUILD_OPTIONS contain the "noopt" flag?
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-# don't get rid of the space in the next line
-IMAKE_DEFINES+= $(DEBUGFLAGS)
+# Don't get rid of the space in the next line.
+IMAKE_DEFINES+= -DDefaultGcc2OptimizeOpt=-O0
endif
# Set up parameters for the Debian build environment.
Reply to: