Skip to content

Commit

Permalink
Add --icf=safe
Browse files Browse the repository at this point in the history
  • Loading branch information
haampie committed Jun 13, 2022
1 parent f90825b commit c949fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/pgo-lto/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ stage1: | $(STAGE1_BUILD)
stage2: export CFLAGS=-fprofile-use=$(PROFILE_FILE)
stage2: export CXXFLAGS=-fprofile-use=$(PROFILE_FILE)
stage2: export LDFLAGS=-fuse-ld=lld -flto=thin -fprofile-use=$(PROFILE_FILE)
stage2: export LDFLAGS=-fuse-ld=lld -flto=thin -fprofile-use=$(PROFILE_FILE) -Wl,--icf=safe
stage2: $(PROFILE_FILE) | $(STAGE2_BUILD)
$(MAKE) -C $(STAGE2_BUILD) && touch $@
Expand Down

0 comments on commit c949fc0

Please sign in to comment.