]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
build: set as-needed in default_options
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 13 Sep 2021 07:44:32 +0000 (09:44 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 13 Sep 2021 07:44:32 +0000 (09:44 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
meson.build

index b4fb9c70e38331b5eb0bebf455ad0f929f49ff66..c44f6d71e9e04fbd905ea6e6fa44cf55ca308d63 100644 (file)
@@ -4,6 +4,7 @@ project('lxc', 'c',
         version : '4.0.0',
         license : 'LGPLv2+',
         default_options: [
+               'b_asneeded=true',
                'b_pie=true',
                 'c_std=gnu11',
                 'warning_level=2',
@@ -133,7 +134,6 @@ possible_cc_flags = [
 ]
 
 possible_link_flags = [
-       '-Wl,--as-needed',
        '-Wl,--gc-sections',
        '-Wl,-z,relro',
        '-Wl,-z,now',