summaryrefslogtreecommitdiff
blob: 10c17cff322c1081600a6d83ec4e4d71d9cfc3fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
From: Julian Ospald <hasufell@gentoo.org>
Date: Fri Jan  4 20:17:34 UTC 2013
Subject: respect system CXXFLAGS

--- efte-1.1/src/CMakeLists.txt
+++ efte-1.1/src/CMakeLists.txt
@@ -86,7 +86,7 @@
 ENDIF( UNIX AND ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" )
 
 IF( CMAKE_COMPILER_IS_GNUCC )
-  SET( CMAKE_CXX_FLAGS "-pedantic -Wall -Wno-long-long -Wpointer-arith -Wconversion -Wwrite-strings -Winline -fno-rtti -fno-exceptions" )
+  SET( CMAKE_CXX_FLAGS "-pedantic -Wall -Wno-long-long -Wpointer-arith -Wconversion -Wwrite-strings -Winline -fno-rtti -fno-exceptions ${CMAKE_CXX_FLAGS}" )
 ENDIF( CMAKE_COMPILER_IS_GNUCC )
 
 IF( CMAKE_SYSTEM_NAME MATCHES "HP/UX" )