a62562f9ae
5.62.0 ECMAddQtDesignerPlugin: pass code sample indirectly via variable name arg Keep 'lib' as default LIBDIR on Arch Linux based systems Enable autorcc by default Define install location for JAR/AAR files for Android Add ECMAddQtDesignerPlugin 5.63.0 new module ECMSourceVersionControl Fix FindEGL when using Emscripten ECMAddQch: add INCLUDE_DIRS argument 5.64.0 Don't set C/C++ standards if already set Use modern way to set the C/CXX standad Raise CMake requirements to 3.5 ECMAddQch: support PREDEFINED_MACROS/BLANK_MACROS with blanks & quotes
24 lines
1.1 KiB
CMake
24 lines
1.1 KiB
CMake
$NetBSD: patch-kde-modules_KDECompilerSettings.cmake,v 1.4 2019/11/11 06:38:05 markd Exp $
|
|
|
|
Do not hard-code --enable-new-dtags. It is completely broken on systems like
|
|
NetBSD implementing the sane rpath semantic and just have a new enough binutils
|
|
version. It is up to the system compiler to know what the correct platfor
|
|
choice is.
|
|
|
|
--- kde-modules/KDECompilerSettings.cmake.orig 2017-11-30 07:42:14.000000000 +0000
|
|
+++ kde-modules/KDECompilerSettings.cmake
|
|
@@ -229,14 +224,6 @@ if (POLICY CMP0063)
|
|
cmake_policy(SET CMP0063 NEW)
|
|
endif()
|
|
|
|
-if (UNIX AND NOT APPLE AND NOT CYGWIN)
|
|
- # Enable adding DT_RUNPATH, which means that LD_LIBRARY_PATH takes precedence
|
|
- # over the built-in rPath
|
|
- set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--enable-new-dtags ${CMAKE_SHARED_LINKER_FLAGS}")
|
|
- set(CMAKE_MODULE_LINKER_FLAGS "-Wl,--enable-new-dtags ${CMAKE_MODULE_LINKER_FLAGS}")
|
|
- set(CMAKE_EXE_LINKER_FLAGS "-Wl,--enable-new-dtags ${CMAKE_EXE_LINKER_FLAGS}")
|
|
-endif()
|
|
-
|
|
if (CMAKE_SYSTEM_NAME STREQUAL GNU)
|
|
# Enable multithreading with the pthread library
|
|
# FIXME: Is this actually necessary to have here?
|