[quake3-commits] r1756 - trunk

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Dec 18 16:52:36 EST 2009


Author: tma
Date: 2009-12-18 16:52:36 -0500 (Fri, 18 Dec 2009)
New Revision: 1756

Modified:
   trunk/Makefile
Log:
* (bug #4364) Fix missing -DNDEBUG

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2009-12-18 20:02:39 UTC (rev 1755)
+++ trunk/Makefile	2009-12-18 21:52:36 UTC (rev 1756)
@@ -567,7 +567,7 @@
     CLIENT_CFLAGS += -DUSE_CODEC_VORBIS
   endif
 
-  OPTIMIZEVM = -DNDEBUG -O3 -funroll-loops -fomit-frame-pointer
+  OPTIMIZEVM = -O3 -funroll-loops -fomit-frame-pointer
 
   ifeq ($(ARCH),axp)
     BASE_CFLAGS += -DNO_VM_COMPILED
@@ -756,7 +756,7 @@
   CLIENT_CFLAGS = $(SDL_CFLAGS)
   SERVER_CFLAGS =
 
-  OPTIMIZEVM = -O3 -funroll-loops -DNDEBUG
+  OPTIMIZEVM = -O3 -funroll-loops
 
   ifeq ($(ARCH),sparc)
     OPTIMIZEVM += -O3 \
@@ -798,7 +798,7 @@
 # SETUP AND BUILD -- GENERIC
 #############################################################################
   BASE_CFLAGS=-DNO_VM_COMPILED
-  OPTIMIZE = -DNDEBUG -O3
+  OPTIMIZE = -O3
 
   SHLIBEXT=so
   SHLIBCFLAGS=-fPIC
@@ -1016,7 +1016,7 @@
 
 release:
 	@$(MAKE) targets B=$(BR) CFLAGS="$(CFLAGS) $(BASE_CFLAGS) $(DEPEND_CFLAGS)" \
-	  OPTIMIZE="$(OPTIMIZE)" OPTIMIZEVM="$(OPTIMIZEVM)" \
+	  OPTIMIZE="-DNDEBUG $(OPTIMIZE)" OPTIMIZEVM="-DNDEBUG $(OPTIMIZEVM)" \
 	  CLIENT_CFLAGS="$(CLIENT_CFLAGS)" SERVER_CFLAGS="$(SERVER_CFLAGS)" V=$(V)
 
 # Create the build directories, check libraries and print out



More information about the quake3-commits mailing list