summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/xcompile/xcompile4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 1af02ad28a..d2509dbc36 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -172,9 +172,9 @@ detect_special_flags() {
detect_compiler_runtime() {
test -z "$CLANG" || \
- CC_RT_CLANG="`${CLANG} ${CFLAGS} -print-librt-file-name 2>/dev/null`"
+ CC_RT_CLANG="`${CLANG} ${CFLAGS_CLANG} -print-librt-file-name 2>/dev/null`"
test -z "$GCC" || \
- CC_RT_GCC="`${GCC} ${CFLAGS} -print-libgcc-file-name`"
+ CC_RT_GCC="`${GCC} ${CFLAGS_GCC} -print-libgcc-file-name`"
}
report_arch_toolchain() {