Bug 1383966 - Give the result of the linker detection to OS_LDFLAGS r=glandium
authorSylvestre Ledru <sledru@mozilla.com>
Tue, 25 Jul 2017 07:14:14 +0200
changeset 419436 9706855e559680ceea9b3ac46bd75ac4937c2cc5
parent 419435 c48bb95530b16c70ab078e3fa55a2770aa8bf39b
child 419437 ec0aed41acb04ffa0c688b048779f877bfdeaa12
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1383966
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1383966 - Give the result of the linker detection to OS_LDFLAGS r=glandium MozReview-Commit-ID: 2zKZtKWMaIs
config/config.mk
--- a/config/config.mk
+++ b/config/config.mk
@@ -220,16 +220,19 @@ OS_CFLAGS += $(if $(filter $(notdir $<),
 OS_CXXFLAGS += $(if $(filter $(notdir $<),$(notdir $(NO_PROFILE_GUIDED_OPTIMIZE))),,$(PROFILE_USE_CFLAGS))
 OS_LDFLAGS += $(PROFILE_USE_LDFLAGS)
 ifeq (WINNT,$(OS_ARCH))
 AR_FLAGS += -LTCG
 endif
 endif # MOZ_PROFILE_USE
 endif # NO_PROFILE_GUIDED_OPTIMIZE
 
+# linker
+OS_LDFLAGS += $(LINKER_LDFLAGS)
+
 MAKE_JARS_FLAGS = \
 	-t $(topsrcdir) \
 	-f $(MOZ_JAR_MAKER_FILE_FORMAT) \
 	$(NULL)
 
 ifdef USE_EXTENSION_MANIFEST
 MAKE_JARS_FLAGS += -e
 endif