aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorm45t3r2020-05-27 21:59:34 -0300
committerm45t3r2020-05-27 21:59:34 -0300
commit94b1765da3dd2b5121650e99e194020fb3c5b4b6 (patch)
tree3661b6ec35f5900070acebc38fd975fb5f9cf84b
parentc715b6547a6499fb4e984894f95a8cc395d89ee1 (diff)
downloadsnesemu-94b1765da3dd2b5121650e99e194020fb3c5b4b6.tar.gz
snesemu-94b1765da3dd2b5121650e99e194020fb3c5b4b6.tar.bz2
snesemu-94b1765da3dd2b5121650e99e194020fb3c5b4b6.zip
Add -fprofile-dir
-rw-r--r--Makefile.miyoo2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.miyoo b/Makefile.miyoo
index acae0aa..eb5d62a 100644
--- a/Makefile.miyoo
+++ b/Makefile.miyoo
@@ -32,7 +32,7 @@ CFLAGS += -Wall -Wextra -pedantic -Wno-implicit-function-declaration -Wno-implic
ifeq ($(PROFILE), YES)
CFLAGS += -fprofile-generate=./profile
else ifeq ($(PROFILE), APPLY)
-CFLAGS += -fprofile-use -fbranch-probabilities
+CFLAGS += -fprofile-use -fprofile-dir=./profile -fbranch-probabilities
endif
LDFLAGS = -lc -lgcc -lm $(SDL_LIBS) -no-pie -Wl,--as-needed -Wl,--gc-sections -s -flto