summaryrefslogtreecommitdiff
path: root/coreconf
diff options
context:
space:
mode:
authorJohn M. Schanck <jschanck@mozilla.com>2022-05-31 18:14:12 +0000
committerJohn M. Schanck <jschanck@mozilla.com>2022-05-31 18:14:12 +0000
commit8b5740ab6e22e7f3484e821758a9edcde0419eac (patch)
tree786c359fa0102602dc0b022371e30909baead416 /coreconf
parent96417f664bcd13863f1d45378fdc8eba4ed6fa4a (diff)
downloadnss-hg-8b5740ab6e22e7f3484e821758a9edcde0419eac.tar.gz
Bug 1771036 - allow LDFLAGS override in makefile builds. r=nss-reviewers,djackson
Patch provided by Giulio Benetti. Differential Revision: https://phabricator.services.mozilla.com/D147534
Diffstat (limited to 'coreconf')
-rw-r--r--coreconf/nsinstall/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/coreconf/nsinstall/Makefile b/coreconf/nsinstall/Makefile
index 08dfbc2fe..5061789ff 100644
--- a/coreconf/nsinstall/Makefile
+++ b/coreconf/nsinstall/Makefile
@@ -34,6 +34,10 @@ ifdef NATIVE_FLAGS
OS_CFLAGS=$(NATIVE_FLAGS)
endif
+ifdef NATIVE_LDFLAGS
+LDFLAGS=$(NATIVE_LDFLAGS)
+endif
+
include $(DEPTH)/coreconf/rules.mk
# Redefine MAKE_OBJDIR for just this directory