From bab309b5aeda50a9a4ff4165be23b20cf4ffbc34 Mon Sep 17 00:00:00 2001
From: midipix <writeonce@midipix.org>
Date: Sat, 12 Jun 2021 13:45:53 +0000
Subject: build system: ccenv: added and integrated
 ccenv_set_cc_sysroot_vars().

---
 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'configure')

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
 
-- 
cgit v1.2.3