]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: stop setting the linker (#6182)
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 26 Jun 2017 13:00:46 +0000 (09:00 -0400)
committerLennart Poettering <lennart@poettering.net>
Mon, 26 Jun 2017 13:00:45 +0000 (15:00 +0200)
If wanted, the linker can be set with LDFLAGS (LDFLAGS=-Wl,-fuse-ld=gold meson ...),
and setting it internally was interfering with that. It seems that both gold and
bfd work very well and quick, and the reasons we had to prefer gold are not relevant
anymore.

Fixes #6169.

meson.build

index be33ea10dcb1ab5831722b98991a18ed84a5d6e8..af68a2ff83a016ccc4eca3ef547dbb241b4d6246 100644 (file)
@@ -312,7 +312,6 @@ link_test_c = files('tools/meson-link-test.c')
 foreach arg : ['-Wl,-z,relro',
                '-Wl,-z,now',
                '-pie',
-               '-Wl,-fuse-ld=gold',
               ]
 
         have = run_command(check_compilation_sh,