mirror of https://github.com/stella-emu/stella.git
Fix linking pgo binary with GCC.
This commit is contained in:
parent
24305371c7
commit
6e5e61f995
3
Makefile
3
Makefile
|
@ -117,7 +117,6 @@ ifdef HAVE_GCC
|
|||
CXXFLAGS_PROFILE_GENERATE += -fprofile-generate -fprofile-dir=$(PROFILE_OUT)
|
||||
CXXFLAGS_PROFILE_USE += -fprofile-use -fprofile-dir=$(PROFILE_OUT)
|
||||
LDFLAGS_PROFILE_GENERATE += -fprofile-generate
|
||||
LDFLAGS_PROFILE_USE += -fprofile-generate
|
||||
endif
|
||||
|
||||
all: $(EXECUTABLE)
|
||||
|
@ -174,7 +173,7 @@ $(EXECUTABLE_PROFILE_GENERATE): $(OBJS_PROFILE_GENERATE)
|
|||
$(LD) $(LDFLAGS_PROFILE_GENERATE) $(PRE_OBJS_FLAGS) $+ $(POST_OBJS_FLAGS) $(LIBS) $(PROF) -o $@
|
||||
|
||||
$(EXECUTABLE_PROFILE_USE): $(OBJS_PROFILE_USE)
|
||||
$(LD) $(LDFLAGS_PROFILE_USE) $(PRE_OBJS_FLAGS) $+ $(POST_OBJS_FLAGS) $(LIBS) $(PROF) -o $@
|
||||
$(LD) $(LDFLAGS) $(PRE_OBJS_FLAGS) $+ $(POST_OBJS_FLAGS) $(LIBS) $(PROF) -o $@
|
||||
|
||||
distclean: clean
|
||||
$(RM_REC) $(DEPDIRS)
|
||||
|
|
Loading…
Reference in New Issue