diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-05 02:14:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-05 02:14:48 +0100 |
commit | 8c11cf748cc296d6338a189106a8cc9e3a1e0948 (patch) | |
tree | aeece5fc6153ff97d650c5333accee0939ba4a92 /dev-libs/libpsl-native/files | |
parent | 34f71cb8541190212fa250ceb3dafb53f383beea (diff) |
gentoo auto-resync : 05:04:2024 - 02:14:48
Diffstat (limited to 'dev-libs/libpsl-native/files')
-rw-r--r-- | dev-libs/libpsl-native/files/libpsl-native-7.3.2-cmake.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/dev-libs/libpsl-native/files/libpsl-native-7.3.2-cmake.patch b/dev-libs/libpsl-native/files/libpsl-native-7.3.2-cmake.patch deleted file mode 100644 index a8222f074713..000000000000 --- a/dev-libs/libpsl-native/files/libpsl-native-7.3.2-cmake.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,9 +1,7 @@ - cmake_minimum_required(VERSION 2.8.11) - project(PSL-NATIVE) - --# Can't use add_compile_options with 2.8.11 --set(CMAKE_BUILD_TYPE "Release") --set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Werror -fstack-protector-strong -fpie -DFORTIFY_SOURCE=2 -O2") -+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") - - if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") - set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-z,relro,-z,now") -@@ -11,15 +9,11 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") - set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl") - endif() - --set(LIBRARY_OUTPUT_PATH "${PROJECT_SOURCE_DIR}/../powershell-unix") -+option(TESTING "Enable tests" OFF) - --if (CMAKE_SYSTEM_PROCESSOR MATCHES "arm*") -- message(STATUS "Building for ARM, no tests") -- add_subdirectory(src) --else () -- # test in BUILD_DIR -- message(STATUS "Tests enabled") -- enable_testing() -- add_subdirectory(src) -- add_subdirectory(test) --endif () -+add_subdirectory(src) -+ -+if(TESTING) -+ enable_testing() -+ add_subdirectory(test) -+endif() |