all repos — mgba @ 3ce129fbb176cd24da437abf9047289365c0efef

mGBA Game Boy Advance Emulator

All: Remove -pg from PGO build
Jeffrey Pfau jeffrey@endrift.com
Tue, 15 Dec 2015 23:19:47 -0800
commit

3ce129fbb176cd24da437abf9047289365c0efef

parent

872409407604776768fe923d48e0a33a29f696b2

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -114,7 +114,7 @@ set(BUILD_PGO OFF CACHE BOOL "Build with profiling-guided optimization")

set(PGO_STAGE_2 CACHE BOOL "Rebuild for profiling-guided optimization after profiles have been generated") set(PGO_DIR "/tmp/gba-pgo/" CACHE PATH "Profiling-guided optimization profiles path") mark_as_advanced(BUILD_LTO BUILD_PGO PGO_STAGE_2 PGO_DIR) -set(PGO_PRE_FLAGS "-pg -fprofile-generate=${PGO_DIR} -fprofile-arcs") +set(PGO_PRE_FLAGS "-fprofile-generate=${PGO_DIR} -fprofile-arcs") set(PGO_POST_FLAGS "-fprofile-use=${PGO_DIR} -fbranch-probabilities") if(BUILD_PGO AND NOT PGO_STAGE_2)