Commit cc6d549a 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.
parent 942cded6
......@@ -3398,6 +3398,9 @@ if test -n "$sysroot"; then
gcc|llvm_gcc|clang)
add_cppflags --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)
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