mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-03 20:47:37 +03:00
Pass -Wl,--no-add-needed to the linker.
This commit is contained in:
parent
b8dfb9cc4d
commit
76da30adda
2 changed files with 4 additions and 2 deletions
|
@ -27,6 +27,8 @@ if(CMAKE_COMPILER_IS_GNUCXX)
|
|||
add_definitions(-DQT_NO_KEYWORDS -DQT_NO_EXCEPTIONS -fno-exceptions -fno-rtti
|
||||
-ansi -Wall -Wextra -Wundef -Wold-style-cast -Wnon-virtual-dtor -Wcast-align
|
||||
-Wpointer-arith -Wformat-security -Woverloaded-virtual -Wno-long-long)
|
||||
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-add-needed")
|
||||
endif(CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
||||
if( APPLE OR MINGW )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue