19 lines
655 B
Diff
19 lines
655 B
Diff
This shouldn't exist and erroneously fails for us.
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index dca0029..93b8c79 100644
|
|
--- CMakeLists.txt
|
|
+++ CMakeLists.txt
|
|
@@ -32,10 +32,6 @@ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-z,noexecstack -
|
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now")
|
|
|
|
include(CheckCCompilerFlag)
|
|
-check_c_compiler_flag("-no-pie" HAS_NO_PIE)
|
|
-if(HAS_NO_PIE)
|
|
- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -no-pie")
|
|
-endif(HAS_NO_PIE)
|
|
|
|
# Options
|
|
option(WITH_GTK "Build support for GUI in GTK3+" ON)
|
|
|