add --as-needed
This commit is contained in:
parent
0eadeb7e9d
commit
8110789b3a
@ -195,6 +195,7 @@ function(give_options_without_warnings target)
|
||||
$<$<CONFIG:Release>:${BUILD_FLAGS_RELEASE}>
|
||||
$<$<CONFIG:Debug>:${BUILD_FLAGS_DEBUG}>
|
||||
-Bsymbolic-functions
|
||||
-Wl,--as-needed
|
||||
$<$<BOOL:${LINUX}>:-Wl,--hash-style=gnu>)
|
||||
|
||||
get_target_property(target_type ${target} TYPE)
|
||||
|
Loading…
Reference in New Issue
Block a user