void-packages/srcpkgs/nss/patches/respect-ldflags.patch
Đoàn Trần Công Danh f6ba5a5590 nss: update to 3.68.
Also unify native and cross build.
2021-07-22 21:29:29 +07:00

11 lines
387 B
Diff

--- nss-3.67.orig/nss/coreconf/rules.mk
+++ nss-3.67/nss/coreconf/rules.mk
@@ -223,7 +223,7 @@ ifdef MT
endif # MSVC with manifest tool
endif
else
- $(MKSHLIB) -o $@ $(OBJS) $(SUB_SHLOBJS) $(LD_LIBS) $(EXTRA_LIBS) $(EXTRA_SHARED_LIBS) $(OS_LIBS)
+ $(MKSHLIB) $(LDFLAGS) -o $@ $(OBJS) $(SUB_SHLOBJS) $(LD_LIBS) $(EXTRA_LIBS) $(EXTRA_SHARED_LIBS) $(OS_LIBS)
chmod +x $@
endif
endif