Skip to content

Commit

Permalink
Add -fprofile-dir
Browse files Browse the repository at this point in the history
  • Loading branch information
m45t3r committed May 28, 2020
1 parent c715b65 commit 94b1765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.miyoo
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 94b1765

Please sign in to comment.