[SVN-Commit] r923 - branches/experimental/security/nss/files

svn-freebsd-gecko at chruetertee.ch svn-freebsd-gecko at chruetertee.ch
Sat Aug 11 04:51:05 UTC 2012


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)


More information about the freebsd-gecko mailing list