aboutsummaryrefslogtreecommitdiff
path: root/configure
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 /configure
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 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 61e8469..6bf62b3 100755
--- a/configure
+++ b/configure
@@ -1139,8 +1139,9 @@ fi
./.local/bin/make -f reproduce/software/make/high-level.mk \
rpath_command=$rpath_command \
static_build=$static_build \
- on_mac_os=$on_mac_os \
numthreads=$numthreads \
+ on_mac_os=$on_mac_os \
+ host_cc=$host_cc \
-j$numthreads