From 94b1765da3dd2b5121650e99e194020fb3c5b4b6 Mon Sep 17 00:00:00 2001 From: m45t3r <48780351+m45t3r@users.noreply.github.com> Date: Wed, 27 May 2020 21:59:34 -0300 Subject: [PATCH] Add -fprofile-dir --- Makefile.miyoo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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