summaryrefslogtreecommitdiffstats
path: root/security/nss/lib/freebl/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/lib/freebl/config.mk')
-rw-r--r--security/nss/lib/freebl/config.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/security/nss/lib/freebl/config.mk b/security/nss/lib/freebl/config.mk
index 918a66363..f15077096 100644
--- a/security/nss/lib/freebl/config.mk
+++ b/security/nss/lib/freebl/config.mk
@@ -90,7 +90,12 @@ EXTRA_SHARED_LIBS += \
endif
endif
+ifeq ($(OS_ARCH), Linux)
+CFLAGS += -std=gnu99
+endif
+
ifeq ($(OS_ARCH), Darwin)
+CFLAGS += -std=gnu99
EXTRA_SHARED_LIBS += -dylib_file @executable_path/libplc4.dylib:$(DIST)/lib/libplc4.dylib -dylib_file @executable_path/libplds4.dylib:$(DIST)/lib/libplds4.dylib
endif