@@ -, +, @@ https://github.com/nE0sIghT/vortex-overlay/issues/4 --- common/src/Utilities/CMakeLists.txt | 41 ---------------------- common/src/x86emitter/CMakeLists.txt | 41 ---------------------- pcsx2/CMakeLists.txt | 41 ---------------------- plugins/CDVDiso/src/CMakeLists.txt | 4 --- plugins/CDVDlinuz/Src/CMakeLists.txt | 5 --- plugins/GSdx/CMakeLists.txt | 5 --- plugins/onepad/CMakeLists.txt | 4 --- plugins/spu2-x/src/CMakeLists.txt | 4 --- plugins/zerogs/dx/CMakeLists.txt | 4 +-- plugins/zerogs/opengl/CMakeLists.txt | 4 --- plugins/zerospu2/CMakeLists.txt | 4 --- plugins/zzogl-pg/opengl/CMakeLists.txt | 4 --- .../zzogl-pg/opengl/ZeroGSShaders/CMakeLists.txt | 4 --- tools/bin2cpp/CMakeLists.txt | 2 +- 14 files changed, 3 insertions(+), 164 deletions(-) --- a/common/src/Utilities/CMakeLists.txt +++ a/common/src/Utilities/CMakeLists.txt @@ -14,47 +14,6 @@ set(CommonFlags -fno-strict-aliasing ) -# set optimization flags -set(OptimizationFlags - -falign-functions - -falign-jumps - -falign-labels - -falign-loops - -fcaller-saves - -fcprop-registers - -fcrossjumping - -fcse-follow-jumps - -fcse-skip-blocks - -fdefer-pop - -fdelete-null-pointer-checks - -fgcse - -fgcse-lm - -fif-conversion - -fif-conversion2 - -fmerge-constants - -foptimize-sibling-calls - -fpeephole2 - -fregmove - -freorder-blocks - -freorder-functions - -frerun-cse-after-loop - -fsched-interblock - -fsched-spec - -fstrict-overflow - -fthread-jumps - -ftree-ccp - -ftree-ch - -ftree-copyrename - -ftree-dce - -ftree-dominator-opts - -ftree-fre - -ftree-lrs - -ftree-pre - -ftree-sra - -ftree-ter - -ftree-vrp - -funit-at-a-time) - #Clang doesn't support a few common flags that GCC does. if(NOT USE_CLANG) set(UtilitiesFinalFlags --- a/common/src/x86emitter/CMakeLists.txt +++ a/common/src/x86emitter/CMakeLists.txt @@ -14,47 +14,6 @@ set(CommonFlags -fno-strict-aliasing ) -# set optimization flags -set(OptimizationFlags - -falign-functions - -falign-jumps - -falign-labels - -falign-loops - -fcaller-saves - -fcprop-registers - -fcrossjumping - -fcse-follow-jumps - -fcse-skip-blocks - -fdefer-pop - -fdelete-null-pointer-checks - -fgcse - -fgcse-lm - -fif-conversion - -fif-conversion2 - -fmerge-constants - -foptimize-sibling-calls - -fpeephole2 - -fregmove - -freorder-blocks - -freorder-functions - -frerun-cse-after-loop - -fsched-interblock - -fsched-spec - -fstrict-overflow - -fthread-jumps - -ftree-ccp - -ftree-ch - -ftree-copyrename - -ftree-dce - -ftree-dominator-opts - -ftree-fre - -ftree-lrs - -ftree-pre - -ftree-sra - -ftree-ter - -ftree-vrp - -funit-at-a-time) - #Clang doesn't support a few common flags that GCC does. if(NOT USE_CLANG) set(x86emitterFinalFlags --- a/pcsx2/CMakeLists.txt +++ a/pcsx2/CMakeLists.txt @@ -27,47 +27,6 @@ set(CommonFlags -DWX_PRECOMP ) -# set optimization flags -set(OptimizationFlags - -falign-functions - -falign-jumps - -falign-labels - -falign-loops - -fcaller-saves - -fcprop-registers - -fcrossjumping - -fcse-follow-jumps - -fcse-skip-blocks - -fdefer-pop - -fdelete-null-pointer-checks - -fgcse - -fgcse-lm - -fif-conversion - -fif-conversion2 - -fmerge-constants - -foptimize-sibling-calls - -fpeephole2 - -fregmove - -freorder-blocks - -freorder-functions - -frerun-cse-after-loop - -fsched-interblock - -fsched-spec - -fstrict-overflow - -fthread-jumps - -ftree-ccp - -ftree-ch - -ftree-copyrename - -ftree-dce - -ftree-dominator-opts - -ftree-fre - -ftree-lrs - -ftree-pre - -ftree-sra - -ftree-ter - -ftree-vrp - -funit-at-a-time) - #Clang doesn't support a few common flags that GCC does. if(NOT USE_CLANG) set(pcsx2FinalFlags ${CommonFlags} -fno-guess-branch-probability -fno-dse -fno-tree-dse) --- a/plugins/CDVDiso/src/CMakeLists.txt +++ a/plugins/CDVDiso/src/CMakeLists.txt @@ -9,10 +9,6 @@ endif() # plugin name set(Output CDVDiso) -set(OptimizationFlags - -O2 - ) - if(CMAKE_BUILD_TYPE STREQUAL Debug) set(CDVDisoFinalFlags "") --- a/plugins/CDVDlinuz/Src/CMakeLists.txt +++ a/plugins/CDVDlinuz/Src/CMakeLists.txt @@ -7,11 +7,6 @@ set(CommonFlags -D_LARGEFILE64_SOURCE ) -set(OptimizationFlags - -O2 - -fomit-frame-pointer - ) - if(CMAKE_BUILD_TYPE STREQUAL Debug) set(CDVDlinuzFinalFlags ${CommonFlags}) --- a/plugins/GSdx/CMakeLists.txt +++ a/plugins/GSdx/CMakeLists.txt @@ -18,11 +18,6 @@ set(CommonFlags -Wunused-variable # __dummy variable need to be investigated ) -set(OptimizationFlags - -O2 - ) - - if(CMAKE_BUILD_TYPE STREQUAL Debug) set(GSdxFinalFlags ${GSdxFinalFlags} ${CommonFlags} -D_DEBUG) --- a/plugins/onepad/CMakeLists.txt +++ a/plugins/onepad/CMakeLists.txt @@ -9,10 +9,6 @@ endif() # plugin name set(Output onepad-1.1.0) -set(OptimizationFlags - -O2 - ) - if(CMAKE_BUILD_TYPE STREQUAL Debug) set(onepadFinalFlags "") --- a/plugins/spu2-x/src/CMakeLists.txt +++ a/plugins/spu2-x/src/CMakeLists.txt @@ -15,10 +15,6 @@ endif() # plugin name set(Output spu2x-2.0.0) -set(OptimizationFlags - -O2 - ) - if(CMAKE_BUILD_TYPE STREQUAL Debug) set(spu2xFinalFlags "") --- a/plugins/zerogs/dx/CMakeLists.txt +++ a/plugins/zerogs/dx/CMakeLists.txt @@ -65,8 +65,8 @@ endif(CMAKE_BUILD_TYPE STREQUAL Devel) # Release - Build if(CMAKE_BUILD_TYPE STREQUAL Release) - set(CMAKE_C_FLAGS_RELEASE "-Wall -fPIC -m32 -O2 -s") - set(CMAKE_CXX_FLAGS_RELEASE "-Wall -fPIC -m32 -O2 -s") + set(CMAKE_C_FLAGS_RELEASE "-Wall -fPIC -m32 -s") + set(CMAKE_CXX_FLAGS_RELEASE "-Wall -fPIC -m32 -s") # add defines add_definitions() --- a/plugins/zerogs/opengl/CMakeLists.txt +++ a/plugins/zerogs/opengl/CMakeLists.txt @@ -7,10 +7,6 @@ set(CommonFlags -Wall ) -set(OptimizationFlags - -O2 - ) - # Debug - Build if(CMAKE_BUILD_TYPE STREQUAL Debug) # add defines --- a/plugins/zerospu2/CMakeLists.txt +++ a/plugins/zerospu2/CMakeLists.txt @@ -9,10 +9,6 @@ endif() # plugin name set(Output zerospu2) -set(OptimizationFlags - -O2 - ) - if(CMAKE_BUILD_TYPE STREQUAL Debug) set(zerospu2FinalFlags "") --- a/plugins/zzogl-pg/opengl/CMakeLists.txt +++ a/plugins/zzogl-pg/opengl/CMakeLists.txt @@ -26,10 +26,6 @@ set(CommonFlags -Wunused-variable ) -set(OptimizationFlags - -O2 - ) - #Clang doesn't support a few common flags that GCC does. if(NOT USE_CLANG) set(zzoglFinalFlags --- a/plugins/zzogl-pg/opengl/ZeroGSShaders/CMakeLists.txt +++ a/plugins/zzogl-pg/opengl/ZeroGSShaders/CMakeLists.txt @@ -17,10 +17,6 @@ set(CommonFlags -DNVIDIA_CG_API ) -set(OptimizationFlags - -O2 - ) - if(CMAKE_BUILD_TYPE STREQUAL Debug) set(zerogsshadersFinalFlags ${CommonFlags} -D_DEBUG --- a/tools/bin2cpp/CMakeLists.txt +++ a/tools/bin2cpp/CMakeLists.txt @@ -23,7 +23,7 @@ endif(CMAKE_BUILD_TYPE STREQUAL Devel) if(CMAKE_BUILD_TYPE STREQUAL Release) # add defines set(bin2cppFinalFlags - -O2 -s -Wall -fexceptions + -s -Wall -fexceptions ) endif(CMAKE_BUILD_TYPE STREQUAL Release) --