summaryrefslogtreecommitdiff
path: root/dev-games/irrlicht-mt/files/irrlicht-mt-1.9.0.10-no_upstream_optflags.patch
blob: 3fa6884d56f81a856088eb2974a8c41a3fc50dad (plain)
1
2
3
4
5
6
7
8
9
10
11
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