Use gomacc even for FDO build
Goma's client recognizes -fprofile-use= flag so shoulde be compatible with Android's FDO build. Change-Id: I0d21d6f530cd05770f8dc12e9dc33a5db49a9c7d
This commit is contained in:
@@ -254,9 +254,10 @@ ifneq ($(filter true always, $(LOCAL_FDO_SUPPORT)),)
|
||||
my_cflags += $($(LOCAL_2ND_ARCH_VAR_PREFIX)TARGET_FDO_OPTIMIZE_CFLAGS)
|
||||
my_fdo_build := true
|
||||
endif
|
||||
# Disable ccache (or other compiler wrapper).
|
||||
my_cc_wrapper :=
|
||||
my_cxx_wrapper :=
|
||||
# Disable ccache (or other compiler wrapper) except gomacc, which
|
||||
# can handle -fprofile-use properly.
|
||||
my_cc_wrapper := $(filter $(GOMA_CC),$(my_cc_wrapper))
|
||||
my_cxx_wrapper := $(filter $(GOMA_CC),$(my_cxx_wrapper))
|
||||
endif
|
||||
|
||||
###########################################################
|
||||
|
Reference in New Issue
Block a user