Fix autoprofiledbootstrap build
authorEugene Rozenfeld <erozen@microsoft.com>
Mon, 7 Aug 2023 11:07:42 +0000 (13:07 +0200)
committerAlan Modra <amodra@gmail.com>
Sat, 12 Aug 2023 00:55:06 +0000 (10:25 +0930)
* Makefile.tpl: Define PROFILE_MERGER

Makefile.tpl

index 4450f696766d622ad433cf44db0464299afcd4a4..e34071a4aafb3a4a4bafbc4d6e7dc38309315029 100644 (file)
@@ -497,6 +497,7 @@ PGO-TRAINING-TARGETS = binutils gas gdb ld sim
 PGO_BUILD_TRAINING = $(addprefix maybe-check-,$(PGO-TRAINING-TARGETS))
 
 CREATE_GCOV = create_gcov
+PROFILE_MERGER = profile_merger
 
 TFLAGS =
 
@@ -731,7 +732,8 @@ EXTRA_HOST_FLAGS = \
        'STRIP=$(STRIP)' \
        'WINDRES=$(WINDRES)' \
        'WINDMC=$(WINDMC)' \
-       'CREATE_GCOV=$(CREATE_GCOV)'
+       'CREATE_GCOV=$(CREATE_GCOV)' \
+       'PROFILE_MERGER=$(PROFILE_MERGER)'
 
 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)