aboutsummaryrefslogtreecommitdiff
path: root/reproduce/software
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2019-07-08 00:03:49 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2019-07-08 00:03:49 +0100
commitbc49a299fb2c64d9c26dd7bf3682bc79800cb6a3 (patch)
tree692abd406166b14d4fd4ec2b7356565c92fa8ef9 /reproduce/software
parentdfbca74f29dee3f351bde7e10850e8ae2a216679 (diff)
Rpath in libstdc++ and passing host_cc to high-level
Until this commit, the addion of `-liconv' to `CXXFLAGS' in `high-level.mk' dependend on `host_cc', but I had forgot that `host_cc' isn't defined for `high-level.mk'. It is now defined for this Makefile also in the configure script. Also, the Standard C++ library depends on `libgcc_s.so.1', so after building GCC, it was necessary to add Rpath to it.
Diffstat (limited to 'reproduce/software')
-rw-r--r--reproduce/software/make/basic.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/reproduce/software/make/basic.mk b/reproduce/software/make/basic.mk
index bbeb13d..5535019 100644
--- a/reproduce/software/make/basic.mk
+++ b/reproduce/software/make/basic.mk
@@ -1153,7 +1153,7 @@ $(ibidir)/gcc: $(gcc-tarball) \
&& cd ../.. \
&& rm -rf gcc-$(gcc-version) \
&& if [ "x$(on_mac_os)" != xyes ]; then \
- for f in $$(find $(idir)/libexec/gcc); do \
+ for f in $$(find $(idir)/libexec/gcc) $(ildir)/libstdc++**; do \
if ldd $$f &> /dev/null; then \
patchelf --set-rpath $(ildir) $$f; \
fi; \