summaryrefslogtreecommitdiff
path: root/security/nss/files/patch-coreconf_UNIX.mk
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/files/patch-coreconf_UNIX.mk')
-rw-r--r--security/nss/files/patch-coreconf_UNIX.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/nss/files/patch-coreconf_UNIX.mk b/security/nss/files/patch-coreconf_UNIX.mk
new file mode 100644
index 000000000000..6a020fa14d88
--- /dev/null
+++ b/security/nss/files/patch-coreconf_UNIX.mk
@@ -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)