mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 06:06:57 +00:00
build: set as-needed in default_options
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
98f3b52712
commit
5e0a302b1e
@ -4,6 +4,7 @@ project('lxc', 'c',
|
|||||||
version : '4.0.0',
|
version : '4.0.0',
|
||||||
license : 'LGPLv2+',
|
license : 'LGPLv2+',
|
||||||
default_options: [
|
default_options: [
|
||||||
|
'b_asneeded=true',
|
||||||
'b_pie=true',
|
'b_pie=true',
|
||||||
'c_std=gnu11',
|
'c_std=gnu11',
|
||||||
'warning_level=2',
|
'warning_level=2',
|
||||||
@ -133,7 +134,6 @@ possible_cc_flags = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
possible_link_flags = [
|
possible_link_flags = [
|
||||||
'-Wl,--as-needed',
|
|
||||||
'-Wl,--gc-sections',
|
'-Wl,--gc-sections',
|
||||||
'-Wl,-z,relro',
|
'-Wl,-z,relro',
|
||||||
'-Wl,-z,now',
|
'-Wl,-z,now',
|
||||||
|
Loading…
Reference in New Issue
Block a user