diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-01-29 14:38:49 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-01-29 14:38:49 -0500 |
commit | 73a53c48901e120a06d221c8cb4f02076e3b9888 (patch) | |
tree | 8fb5e157dc19b8b8d22af12b5a51288802d5b660 /etc/pkgs/002-binutils.sh | |
parent | 92f2ea6ed46ffae5302a47452d816b5dc5784eb7 (diff) | |
download | docker-python-73a53c48901e120a06d221c8cb4f02076e3b9888.tar.gz |
Introduce real toolchain
Diffstat (limited to 'etc/pkgs/002-binutils.sh')
-rwxr-xr-x | etc/pkgs/002-binutils.sh | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/etc/pkgs/002-binutils.sh b/etc/pkgs/002-binutils.sh index bd119fe..83423be 100755 --- a/etc/pkgs/002-binutils.sh +++ b/etc/pkgs/002-binutils.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -x name=binutils version=2.31.1 url=https://ftp.gnu.org/gnu/binutils/${name}-${version}.tar.gz @@ -10,7 +10,17 @@ mkdir -p binutils pushd binutils ../${name}-${version}/configure \ --prefix=${TOOLCHAIN} \ - --with-sysroot=${TOOLCHAIN} - make -j${_maxjobs} - make install + --target=x86_64-pc-linux-gnu \ + --enable-shared \ + --enable-lto \ + --enable-gold \ + --enable-ld=default \ + --enable-plugins \ + --enable-threads \ + --disable-static \ + --disable-multilib \ + --with-sysroot=/ \ + --with-tune=generic + make -j4 + make install-strip popd |