Author: jbeich
Date: Sat Aug 11 04:50:58 2012
New Revision: 923

Log:
don't override -O/-g levels from CFLAGS/DEBUG_FLAGS

Added:
   branches/experimental/security/nss/files/patch-..::coreconf::UNIX.mk

Added: branches/experimental/security/nss/files/patch-..::coreconf::UNIX.mk
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ branches/experimental/security/nss/files/patch-..::coreconf::UNIX.mk        
Sat Aug 11 04:50:58 2012        (r923)
@@ -0,0 +1,13 @@
+--- ../coreconf/UNIX.mk~
++++ ../coreconf/UNIX.mk
+@@ -42,10 +42,8 @@ AR          = ar cr $@
+ LDOPTS     += -L$(SOURCE_LIB_DIR)
+ 
+ ifdef BUILD_OPT
+-      OPTIMIZER  += -O
+       DEFINES    += -UDEBUG -DNDEBUG
+ else
+-      OPTIMIZER  += -g
+       USERNAME   := $(shell whoami)
+       USERNAME   := $(subst -,_,$(USERNAME))
+       DEFINES    += -DDEBUG -UNDEBUG -DDEBUG_$(USERNAME)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "[email protected]"

Reply via email to