void-packages/srcpkgs/nss/patches/native-nsinstall-cflags.patch

12 lines
272 B
Diff

--- nss-3.68.orig/nss/coreconf/nsinstall/Makefile
+++ nss-3.68/nss/coreconf/nsinstall/Makefile
@@ -32,6 +32,8 @@ endif
ifdef NATIVE_FLAGS
OS_CFLAGS=$(NATIVE_FLAGS)
+XCFLAGS = $(NATIVE_FLAGS)
+LDFLAGS = $(LDFLAGS_FOR_BUILD)
endif
include $(DEPTH)/coreconf/rules.mk