summaryrefslogtreecommitdiff
blob: 7a7666b2c4f88e037d08a57abbe0a64fb88f6421 (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
25
26
27
commit e41cf68206eb16be678eeaa1dc998d94d2f93d57
Author: hasufell <hasufell@gentoo.org>
Date:   Tue Aug 27 01:40:58 2013 +0200

    respect system CFLAGS

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5202b99..949d494 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -471,16 +471,8 @@ set(CFLAGS
     -D_GSETTINGS_DIR=\"${CMAKE_BINARY_DIR}/gsettings\"
     -DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\"
     -DLANGUAGE_SUPPORT_DIRECTORY=\"${LANGUAGE_SUPPORT_DIRECTORY}\"
-    -g
 )
 
-if (NOT DEBUG)
-    set(CFLAGS
-        ${CFLAGS}
-        -O2
-    )    
-endif ()
-
 if (REF_TRACKING)
     message(STATUS "Reference tracking: ON")
     set(EXTRA_VALA_OPTIONS