summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-games/irrlicht-mt/files/irrlicht-mt-1.9.0.10-no_upstream_optflags.patch')
-rw-r--r--dev-games/irrlicht-mt/files/irrlicht-mt-1.9.0.10-no_upstream_optflags.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-games/irrlicht-mt/files/irrlicht-mt-1.9.0.10-no_upstream_optflags.patch b/dev-games/irrlicht-mt/files/irrlicht-mt-1.9.0.10-no_upstream_optflags.patch
new file mode 100644
index 000000000000..3fa6884d56f8
--- /dev/null
+++ b/dev-games/irrlicht-mt/files/irrlicht-mt-1.9.0.10-no_upstream_optflags.patch
@@ -0,0 +1,12 @@
+--- a/source/Irrlicht/CMakeLists.txt
++++ b/source/Irrlicht/CMakeLists.txt
+@@ -14,9 +14,6 @@
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
+
+ if(CMAKE_CXX_COMPILER_ID MATCHES "^(GNU|Clang|AppleClang)$")
+- set(CMAKE_CXX_FLAGS_RELEASE "-O3")
+- set(CMAKE_CXX_FLAGS_DEBUG "-g")
+-
+ add_compile_options(-Wall -pipe -fno-exceptions -fno-rtti)
+
+ # Enable SSE for floating point math on 32-bit x86 by default