Skip to content
Snippets Groups Projects
Commit 1f881995 authored by JeremyRand's avatar JeremyRand Committed by boklm
Browse files

Bug 32355: binutils: Add linux-cross target

parent 076ffcf1
No related branches found
Tags tbb-12.5a6-build1
No related merge requests found
......@@ -23,7 +23,11 @@ cd [% project %]-[% c("version") %]
make -j[% c("num_procs") %] MAKEINFO=true
make install MAKEINFO=true
[% IF c("var/linux") %]
# gold is disabled for linux-cross, because of
# https://sourceware.org/bugzilla/show_bug.cgi?id=14995
# Once we upgrade to glibc 2.26, we might be able to enable gold for
# linux-cross.
[% IF c("var/linux") && ! c("var/linux-cross") %]
# Make sure gold is used with the hardening wrapper for full RELRO, see #13031.
cd $distdir/bin
rm ld
......
......@@ -10,6 +10,11 @@ targets:
windows:
var:
configure_opt: '--target=[% c("arch") %]-w64-mingw32 --disable-multilib --enable-deterministic-archives'
linux-cross:
var:
# gold is disabled on cross-compiles until we upgrade to glibc 2.26 and
# binutils 2.28
configure_opt: '--target=[% c("var/crosstarget") %] --disable-multilib --enable-deterministic-archives --enable-plugins'
input_files:
- URL: https://ftp.gnu.org/gnu/binutils/binutils-[% c("version") %].tar.xz
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment