Chris Packham b6a4766d22 binutils: Allow gold to be statically linked
gold uses g++ to link which doesn't recognise -all-static. It appears as
if -static should work for both libtool and g++ but for some reason it
doesn't. Remove the restriction that gold can't be included in a static
toolchain. When a static toolchain is requested pass
--with-gold-ldflags=--static to configure. Finally build gold separately
so it does not get the extra_make_flags which may contain -all-static.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2024-07-29 13:12:59 +12:00
..
2018-04-29 12:06:54 -07:00
2018-04-07 12:03:17 -07:00
2024-02-02 15:15:29 +13:00
2024-02-02 15:15:29 +13:00
2024-06-05 19:31:45 +12:00
2018-04-07 12:03:17 -07:00
2018-04-07 12:03:17 -07:00
2018-04-07 12:03:17 -07:00
2018-04-07 12:03:17 -07:00
2024-06-05 19:31:45 +12:00
2018-04-07 14:39:56 -07:00
2017-04-13 00:07:29 -07:00