Bug 1383966 - Give the result of the linker detection to OS_LDFLAGS r?gps,glandium draft
authorSylvestre Ledru <sledru@mozilla.com>
Tue, 25 Jul 2017 07:14:14 +0200
changeset 614906 17bbf2248e006897642a325d250ddd3b2ac82de8
parent 614905 6d4b5196987ab37beb9a81b6c46ef2ecbec27609
child 639002 fd2f5ea1182eb45dfff453373e4b5db2f15e201a
push id70163
push userbmo:sledru@mozilla.com
push dateTue, 25 Jul 2017 05:14:41 +0000
reviewersgps, glandium
bugs1383966
milestone56.0a1
Bug 1383966 - Give the result of the linker detection to OS_LDFLAGS r?gps,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