git: 19ceed92123e - main - security/keepassxc: Fix build on recent head (after lld 14 import)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 29 May 2022 16:25:27 UTC
The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=19ceed92123e6e2612056b42566974421b6834de commit 19ceed92123e6e2612056b42566974421b6834de Author: Guido Falsi <madpilot@FreeBSD.org> AuthorDate: 2022-05-29 16:23:58 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2022-05-29 16:23:58 +0000 security/keepassxc: Fix build on recent head (after lld 14 import) PR: 264225 --- security/keepassxc/files/patch-CMakeLists.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/security/keepassxc/files/patch-CMakeLists.txt b/security/keepassxc/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..7c2bba1a2360 --- /dev/null +++ b/security/keepassxc/files/patch-CMakeLists.txt @@ -0,0 +1,14 @@ +--- CMakeLists.txt.orig 2022-04-06 03:12:34 UTC ++++ CMakeLists.txt +@@ -310,9 +310,9 @@ if(UNIX AND NOT APPLE) + + if(UNIX AND NOT APPLE) + check_add_gcc_compiler_flag("-Qunused-arguments") +- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--no-add-needed -Wl,--as-needed -Wl,--no-undefined") ++ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--as-needed -Wl,--no-undefined") + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-z,relro,-z,now -pie") +- set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-add-needed -Wl,--as-needed") ++ set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--as-needed") + set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,-z,relro,-z,now") + endif() +