diff options
author | Raul Infante-Sainz <infantesainz@gmail.com> | 2019-04-16 19:09:31 +0100 |
---|---|---|
committer | Raul Infante-Sainz <infantesainz@gmail.com> | 2019-04-16 19:09:31 +0100 |
commit | f95c0a53bb390795acc2c3eed8de5fcbded5cda3 (patch) | |
tree | e79bf243fa54bbe7ee0ffb0d2b54ef774e818c76 /reproduce | |
parent | fd88ac3569196ef3ea7f8463af7cf34277d577f5 (diff) |
Binutils is built on GNU/Linux as GCC dependency, not in MAC OS
Until this commit, we didn't install Binutils. However, we need `strip'
for installing Netpbm, and `strip' is part of the Binutil software.
With this commit, we include Binutils as a dependency of GCC for
GNU/Linux systems. For Mac OS systems we create a symbolic link to
`strip' just after the generation of the symbolic link to `gcc'.
Diffstat (limited to 'reproduce')
-rw-r--r-- | reproduce/software/make/basic.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/reproduce/software/make/basic.mk b/reproduce/software/make/basic.mk index 8a52038..6e6550e 100644 --- a/reproduce/software/make/basic.mk +++ b/reproduce/software/make/basic.mk @@ -830,6 +830,7 @@ ifeq ($(host_cc),1) gcc-prerequisites = else gcc-prerequisites = $(tdir)/gcc-$(gcc-version).tar.xz \ + $(ibidir)/binutils \ $(ilidir)/isl \ $(ilidir)/mpc endif @@ -854,6 +855,7 @@ $(ibidir)/gcc: $(gcc-prerequisites) \ $(call makelink,gcc); \ $(call makelink,g++,mandatory); \ $(call makelink,gfortran,mandatory); \ + $(call makelink,strip,mandatory); \ ln -sf $$(which gcc) $(ibdir)/cc; \ ccinfo=$$(gcc --version | awk 'NR==1'); \ echo "C compiler (""$$ccinfo"")" > $@; \ |