summaryrefslogtreecommitdiffstats
path: root/rules/toolchain.in
diff options
context:
space:
mode:
Diffstat (limited to 'rules/toolchain.in')
-rw-r--r--rules/toolchain.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/toolchain.in b/rules/toolchain.in
index 6d2c68c..c1c4d59 100644
--- a/rules/toolchain.in
+++ b/rules/toolchain.in
@@ -10,7 +10,7 @@ config TOOLCHAIN_DISABLE_SYSROOT
config TOOLCHAIN_CONFIG_SYSROOT
string
- default "--with-sysroot=${SYSROOT}" if TOOLCHAIN_ENABLE_SYSROOT
+ default "--with-build-sysroot=${SYSROOT} --with-sysroot=${PTXCONF_PREFIX_TARGET}" if TOOLCHAIN_ENABLE_SYSROOT
#