Commit d461e077 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Always pass the configure option sysroot to --sysroot and -isysroot.

On darwin, --sysroot may be ignored.

(cherry picked from commit cc6d549a)
parent 9a884b7b
...@@ -3324,6 +3324,9 @@ if test -n "$sysroot"; then ...@@ -3324,6 +3324,9 @@ if test -n "$sysroot"; then
gcc|llvm_gcc|clang) gcc|llvm_gcc|clang)
add_cppflags --sysroot="$sysroot" add_cppflags --sysroot="$sysroot"
add_ldflags --sysroot="$sysroot" add_ldflags --sysroot="$sysroot"
# On Darwin --sysroot may be ignored, -isysroot always affects headers and linking
add_cppflags -isysroot "$sysroot"
add_ldflags -isysroot "$sysroot"
;; ;;
tms470) tms470)
add_cppflags -I"$sysinclude" add_cppflags -I"$sysinclude"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment