You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-editors/efte/files/efte-1.1-flags.patch

16 lines
657 B

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" )