$OpenBSD: patch-nss_lib_freebl_config_mk,v 1.2 2018/05/12 18:10:12 landry Exp $

Fix build on non-clang archs
https://bugzilla.mozilla.org/show_bug.cgi?id=1436932

Index: nss/lib/freebl/config.mk
--- nss/lib/freebl/config.mk.orig
+++ nss/lib/freebl/config.mk
@@ -94,6 +94,10 @@ ifeq (,$(filter-out DragonFly FreeBSD Linux NetBSD Ope
 CFLAGS += -std=gnu99
 endif
 
+ifeq ($(OS_ARCH), OpenBSD)
+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
