summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-09-26 16:27:14 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-09-27 12:24:02 +0200
commitcca85185c710574ac70e71f8fba042d19f336f22 (patch)
tree158c5b8382af54809de38ec32c5da2c08e6981e4 /src
parent113e76008038987a8f586d7c31db73aa879cc936 (diff)
downloadbootstrappable-toolchain-cca85185c710574ac70e71f8fba042d19f336f22.tar.gz
make: bring in directory of CC as default path
... so that other tools of the CC toolchain that might be called directly are available.
Diffstat (limited to 'src')
-rw-r--r--src/tools/make-4.4.TARGETS1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/make-4.4.TARGETS b/src/tools/make-4.4.TARGETS
index e35fb08..fd77b48 100644
--- a/src/tools/make-4.4.TARGETS
+++ b/src/tools/make-4.4.TARGETS
@@ -9,6 +9,7 @@
, "cmds":
[ "export NJOBS=$(nproc --all 2>/dev/null || echo 1)"
, "unset CFLAGS"
+ , "export PATH=${PATH}:$(dirname ${CC})"
, "export CXX=unused"
, "export LDFLAGS='-static'"
, "./configure --prefix=/ --disable-rpath --disable-load >configure.log 2>&1 || (cat configure.log && exit 1)"