aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-01-29 17:55:48 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-01-29 17:55:48 +0000
commit984b96ebcb50565898052a430d3422983c2d7df5 (patch)
tree4f11167b650da592b3d662059b3aef54426a8397
parent99aaeae7550e879973cb175ab82f65353c31ee02 (diff)
downloadlh-bootstrap-984b96ebcb50565898052a430d3422983c2d7df5.tar.xz
Small incremental build fixes (42)
-rwxr-xr-xmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/make b/make
index 9aef9bb..4e42a27 100755
--- a/make
+++ b/make
@@ -22,7 +22,6 @@ BUILD_HOST_CC="$TRIPLE-${CROSS_CC:-gcc}"
ROOTFS_SIZE=${ROOTFS_SIZE:-1024M}
RWFS_SIZE=${RWFS_SIZE:-512M}
USERFS_SIZE=${USERFS_SIZE:-512M}
-LIBC_SYSROOT=${LIBC_SYSROOT:-$(${BUILD_HOST_CC} -print-sysroot)}
if test -z "$BUILD_HOST_STATIC" ; then
case "$TRIPLE" in
@@ -48,6 +47,7 @@ fi
BUILD_HOST_CC_FULL="$CROSS_BASE/bin/$BUILD_HOST_CC"
BUILD_HOST_SYSROOT="$CROSS_BASE/$TRIPLE"
BUILD_HOST_PREFIX="$CROSS_BASE/bin/$TRIPLE"
+LIBC_SYSROOT=${LIBC_SYSROOT:-$(${BUILD_HOST_CC_FULL} -print-sysroot)}
hostarch=$(echo $TRIPLE | cut -f1 -d-)
# This is used extensively throughout the whole build: different subsystems have different names for the architecture