mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00
Bug 1339673 - Only force re-linking during PGO builds for the compile tier. r=glandium
Depending on a library or program in misc during a pgo build causes extraneous rebuilding due to an added FORCE dependency, so we stop adding it except during the compile tier. MozReview-Commit-ID: 91dZFa6IRzt --HG-- extra : rebase_source : 9994a5c05865c81d95ea075c753e270d3c223570
This commit is contained in:
parent
e2e1a84cae
commit
69554aaee0
@ -601,12 +601,14 @@ endif
|
||||
endif
|
||||
|
||||
ifneq (,$(MOZ_PROFILE_GENERATE)$(MOZ_PROFILE_USE))
|
||||
ifneq (,$(filter target,$(MAKECMDGOALS)))
|
||||
ifdef GNU_CC
|
||||
# Force rebuilding libraries and programs in both passes because each
|
||||
# pass uses different object files.
|
||||
$(PROGRAM) $(SHARED_LIBRARY) $(LIBRARY): FORCE
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
endif # NO_PROFILE_GUIDED_OPTIMIZE
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user