mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-06 16:13:35 +00:00
build: force linking against liblxc
We really need to split up our code into better chunks so we avoid all of this duplicated compilation. Fixes: https://github.com/lxc/lxc/issues/4249 Signed-off-by: Christian Brauner (Microsoft) <christian.brauner@ubuntu.com>
This commit is contained in:
parent
0b83d71c2c
commit
a8e1070c61
@ -10,7 +10,7 @@ project(
|
||||
'b_lto=true',
|
||||
'b_lto_mode=thin',
|
||||
'b_colorout=always',
|
||||
'b_asneeded=true',
|
||||
'b_asneeded=false',
|
||||
'b_pie=true',
|
||||
'b_staticpic=true',
|
||||
'c_std=gnu11',
|
||||
@ -221,6 +221,7 @@ possible_cc_flags = [
|
||||
]
|
||||
|
||||
possible_link_flags = [
|
||||
'-Wl,--no-as-needed',
|
||||
'-Wl,--gc-sections',
|
||||
'-Wl,-z,relro',
|
||||
'-Wl,-z,now',
|
||||
|
Loading…
Reference in New Issue
Block a user