summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-12 13:45:53 +0000
committermidipix <writeonce@midipix.org>2021-06-12 14:56:03 +0000
commit6e7e5b44703837f4ddcf4429b8db701fcc4ca197 (patch)
tree8fbcfa95c84d54940a0ee2a4f28695fecbb0c907 /configure
parent8cf56eda75a581f93af2f64c2357dcf0fccbd123 (diff)
downloadu16ports-6e7e5b44703837f4ddcf4429b8db701fcc4ca197.tar.bz2
u16ports-6e7e5b44703837f4ddcf4429b8db701fcc4ca197.tar.xz
build system: ccenv: added and integrated ccenv_set_cc_sysroot_vars().
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 0982754..20fde7a 100755
--- a/configure
+++ b/configure
@@ -651,11 +651,11 @@ common_defaults()
# sysroot
if [ -n "$mb_sysroot" ]; then
if [ -z "$mb_cflags_sysroot" ]; then
- mb_cflags_sysroot="--sysroot=$mb_sysroot"
+ mb_cflags_sysroot='$(_CFLAGS_SYSROOT)'
fi
if [ -z "$mb_ldflags_sysroot" ]; then
- mb_ldflags_sysroot="--sysroot=$mb_sysroot"
+ mb_ldflags_sysroot='$(_LDFLAGS_SYSROOT)'
fi
fi