17 lines
1.0 KiB
Plaintext
17 lines
1.0 KiB
Plaintext
$OpenBSD: patch-Modules_FindKDE3_cmake,v 1.2 2014/12/31 11:06:02 dcoppa Exp $
|
|
--- Modules/FindKDE3.cmake.orig Mon Dec 15 14:07:43 2014
|
|
+++ Modules/FindKDE3.cmake Thu Dec 18 05:37:11 2014
|
|
@@ -303,12 +303,6 @@ if(KDE3_FOUND)
|
|
set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common")
|
|
endif ()
|
|
|
|
- # if no special buildtype is selected, add -O2 as default optimization
|
|
- if (NOT CMAKE_BUILD_TYPE AND _KDE3_USE_FLAGS)
|
|
- set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2")
|
|
- set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2")
|
|
- endif ()
|
|
-
|
|
#set(CMAKE_SHARED_LINKER_FLAGS "-avoid-version -module -Wl,--no-undefined -Wl,--allow-shlib-undefined")
|
|
#set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings -avoid-version -Wl,--no-undefined -lc")
|
|
#set(CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings -avoid-version -Wl,--no-undefined -lc")
|