|
@@ -2046,7 +2046,7 @@ add_asflags $extra_cflags |
|
|
|
|
|
|
|
|
if test -n "$sysroot"; then |
|
|
if test -n "$sysroot"; then |
|
|
case "$cc_type" in |
|
|
case "$cc_type" in |
|
|
gcc|llvm_gcc) |
|
|
|
|
|
|
|
|
gcc|llvm_gcc|clang) |
|
|
add_cppflags --sysroot="$sysroot" |
|
|
add_cppflags --sysroot="$sysroot" |
|
|
add_ldflags --sysroot="$sysroot" |
|
|
add_ldflags --sysroot="$sysroot" |
|
|
;; |
|
|
;; |
|
@@ -2054,10 +2054,6 @@ if test -n "$sysroot"; then |
|
|
add_cppflags -I"$sysinclude" |
|
|
add_cppflags -I"$sysinclude" |
|
|
add_ldflags --sysroot="$sysroot" |
|
|
add_ldflags --sysroot="$sysroot" |
|
|
;; |
|
|
;; |
|
|
clang) |
|
|
|
|
|
add_cppflags -isysroot "$sysroot" |
|
|
|
|
|
add_ldflags -isysroot "$sysroot" |
|
|
|
|
|
;; |
|
|
|
|
|
esac |
|
|
esac |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|