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..7ac50db65 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 (,$(filter-out DragonFly FreeBSD Linux NetBSD OpenBSD, $(OS_TARGET)))
+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