summaryrefslogtreecommitdiff
blob: 70d860ec3beff7d6c968d8a28df0af8b9e5b17cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- cmake/SetDefaultGccFlags.cmake.orig	2010-06-22 14:39:55.000000000 +0300
+++ cmake/SetDefaultGccFlags.cmake	2010-06-22 14:44:27.000000000 +0300
@@ -24,21 +24,6 @@
 		ENDIF(visibility_supported_)
 		
 		IF(NOT COMPILER_FLAGS_OVERRIDDEN)
-			# Flags common for all build configurations.
-			SET(
-				CMAKE_C_FLAGS
-				"-Wall -Wno-unused -ffast-math"
-				CACHE STRING "Common C flags for all build configurations." FORCE
-			)
-			SET(
-				CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}"
-				CACHE STRING "Common C++ flags for all build configurations." FORCE
-			)
-			SET(
-				CMAKE_EXE_LINKER_FLAGS "" CACHE STRING
-				"Common link flags for all build configurations." FORCE
-			)
-		
 			# Release
 			SET(
 				CMAKE_C_FLAGS_RELEASE