mirror of https://github.com/stella-emu/stella.git
Fix PGO on gcc 10.
This commit is contained in:
parent
e1035b74fc
commit
2397b4c0f5
4
Makefile
4
Makefile
|
@ -145,8 +145,8 @@ ifdef HAVE_GCC
|
|||
CFLAGS_PROFILE_USE += -fprofile-use -fprofile-dir=$(PROFILE_OUT)
|
||||
LDFLAGS_PROFILE_GENERATE += -fprofile-generate
|
||||
STELLA_PROFILE_GENERATE := $(STELLA_PROFILE_GENERATE) && \
|
||||
rm -fr $(PROFILE_OUT)/$(OBJECT_ROOT_PROFILE_USE) && \
|
||||
mv $(PROFILE_OUT)/$(OBJECT_ROOT_PROFILE_GENERERATE) $(PROFILE_OUT)/$(OBJECT_ROOT_PROFILE_USE)
|
||||
(rm -fr $(PROFILE_OUT)/$(OBJECT_ROOT_PROFILE_USE) || true) && \
|
||||
(mv $(PROFILE_OUT)/$(OBJECT_ROOT_PROFILE_GENERERATE) $(PROFILE_OUT)/$(OBJECT_ROOT_PROFILE_USE) || true)
|
||||
endif
|
||||
|
||||
all: $(EXECUTABLE)
|
||||
|
|
Loading…
Reference in New Issue