Skip to content

Commit

Permalink
cross: rename %_sysroot to %cross_sysroot
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Apr 24, 2021
1 parent 87e0316 commit 07ba4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init_buildsystem
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ test -x $BUILD_ROOT/sbin/ldconfig && chroot $BUILD_ROOT /sbin/ldconfig 2>&1

if test -n "$PACKAGES_TO_SYSROOTINSTALL" ; then
# query sysroot config
BUILD_SYSROOT=`queryconfig --dist "$BUILD_DIST" --configdir "$CONFIG_DIR" --archpath "$BUILD_ARCH" eval '%{?_sysroot}'`
BUILD_SYSROOT=`queryconfig --dist "$BUILD_DIST" --configdir "$CONFIG_DIR" --archpath "$BUILD_ARCH" eval '%{?cross_sysroot}'`
test -n "$BUILD_SYSROOT" || BUILD_SYSROOT=/build-sysroot
BUILD_SYSROOT="/${BUILD_SYSROOT#/}"
fi
Expand Down

0 comments on commit 07ba4c6

Please sign in to comment.