aboutsummaryrefslogtreecommitdiff
path: root/reproduce/software/make/basic.mk
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2020-04-17 04:02:28 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2020-04-17 04:02:28 +0100
commit9ed594ec27405e38548d6efd6fe28a4dabf0fb41 (patch)
treec1fdf80bd1b65056d5216b9cdda2e3fccc958c1a /reproduce/software/make/basic.mk
parentf4d998a36d6777164147b848b0ac4747c38067cf (diff)
parent8eb0892e179b4970a9835d29b5f57dd912ca4464 (diff)
Imported recent work in Maneage, minor conflicts fixed
A few minor conflicts came up that were easily fixed.
Diffstat (limited to 'reproduce/software/make/basic.mk')
-rw-r--r--reproduce/software/make/basic.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/reproduce/software/make/basic.mk b/reproduce/software/make/basic.mk
index 47a01a3..17bb47a 100644
--- a/reproduce/software/make/basic.mk
+++ b/reproduce/software/make/basic.mk
@@ -33,10 +33,10 @@
# Top level environment
+include reproduce/software/config/LOCAL.conf
include reproduce/software/make/build-rules.mk
-include reproduce/software/config/installation/LOCAL.conf
-include reproduce/software/config/installation/versions.conf
-include reproduce/software/config/installation/checksums.conf
+include reproduce/software/config/versions.conf
+include reproduce/software/config/checksums.conf
lockdir = $(BDIR)/locks
tdir = $(BDIR)/software/tarballs
@@ -1334,12 +1334,14 @@ $(ibidir)/gcc: | $(ibidir)/binutils \
&& cd ../.. \
&& tempname=$$odir/gcc-$(gcc-version)/build/rpath-temp-copy \
&& if [ "x$(on_mac_os)" != xyes ]; then \
- patchelf --add-needed $(ildir)/libiconv.so $(ildir)/libstdc++.so; \
for f in $$(find $(idir)/libexec/gcc) $(ildir)/libstdc++*; do \
isdynamic=$$(file $$f | grep "dynamically linked"); \
if [ x"$$isdynamic" != x ]; then \
cp $$f $$tempname; \
patchelf --set-rpath $(ildir) $$tempname; \
+ if [ "$$f" = $(ildir)/libstdc++.so ]; then \
+ patchelf --add-needed $(ildir)/libiconv.so $$tempname; \
+ fi; \
mv $$tempname $$f; echo "corrected"; \
fi; \
done; \