summaryrefslogtreecommitdiff
path: root/src/compilers
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2023-12-05 15:52:26 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2023-12-21 12:23:24 +0100
commit231ab407cadf725dda129d6255bc04c2b8c114fb (patch)
tree2fe3117995c78141cc0677ca1e91766efff0a706 /src/compilers
parent8b7f05db0453d0a8af6bd89631be977d4fe8cf16 (diff)
downloadbootstrappable-toolchain-231ab407cadf725dda129d6255bc04c2b8c114fb.tar.gz
gcc-musl-static: Fix missing build dir substitution
Diffstat (limited to 'src/compilers')
-rw-r--r--src/compilers/gcc-13-musl-static.TARGETS1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compilers/gcc-13-musl-static.TARGETS b/src/compilers/gcc-13-musl-static.TARGETS
index 58f29b2..0ef5c57 100644
--- a/src/compilers/gcc-13-musl-static.TARGETS
+++ b/src/compilers/gcc-13-musl-static.TARGETS
@@ -73,6 +73,7 @@
}
, "export NJOBS=$(nproc --all 2>/dev/null || echo 1)"
, "export MAKEINFO=missing"
+ , "export BUILD_ROOT_DIR=${ACTION_DIR}"
, "unset CFLAGS CXXFLAGS LDFLAGS"
, "printf '#!/bin/sh\\nexec \"%s\" -static \"$@\"' \"${CC}\" >${TMPDIR}/cc"
, "printf '#!/bin/sh\\nexec \"%s\" -static \"$@\"' \"${CXX}\" >${TMPDIR}/c++"