diff options
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 cfa05d2..4fc104d 100644 --- a/reproduce/software/make/basic.mk +++ b/reproduce/software/make/basic.mk @@ -854,6 +854,7 @@ $(ibidir)/gcc: $(gcc-prerequisites) \ $(call makelink,gcc); \ $(call makelink,g++,mandatory); \ $(call makelink,gfortran,mandatory); \ + ln -sf $(which gcc) $(ibdir)/cc; \ ccinfo=$$(gcc --version | awk 'NR==1'); \ echo "C compiler (""$$ccinfo"")" > $@; \ else \ @@ -899,5 +900,6 @@ $(ibidir)/gcc: $(gcc-prerequisites) \ fi; \ done; \ fi \ + ln -sf $(ibdir)/gcc $(ibdir)/cc; \ && echo "GNU Compiler Collection (GCC) $(gcc-version)" > $@; \ fi |