diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-09-26 12:59:44 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-09-26 12:59:44 -0700 |
commit | 61e81ad96f3da8dd74352c4784e5c8a9aa5279ad (patch) | |
tree | 8aefb5e43d2925489453fcffa198311345c88100 /O3-support.patch | |
parent | Add -pie (diff) | |
download | cataclysm-dda-61e81ad96f3da8dd74352c4784e5c8a9aa5279ad.tar.xz |
Enabled O3
Partly fixed broken desktop file
Diffstat (limited to 'O3-support.patch')
-rw-r--r-- | O3-support.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/O3-support.patch b/O3-support.patch new file mode 100644 index 0000000..ab802cf --- /dev/null +++ b/O3-support.patch @@ -0,0 +1,20 @@ +--- a/Makefile ++++ b/Makefile +@@ -255,7 +261,7 @@ + OPTLEVEL = -O0 + else + ifeq ($(shell $(CXX) -E -Os - < /dev/null > /dev/null 2>&1 && echo fos),fos) +- OPTLEVEL = -Os ++ OPTLEVEL = -O3 + else + OPTLEVEL = -O3 + endif +@@ -266,7 +272,7 @@ + ifeq ($(CXXMACHINE), x86_64-w64-mingw32.static) + OPTLEVEL = -O3 + else +- OPTLEVEL = -Os ++ OPTLEVEL = -O3 + endif + endif + ifdef LTO |