Browse Source

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

On darwin, --sysroot may be ignored.
tags/n2.3
Carl Eugen Hoyos 12 years ago
parent
commit
cc6d549adb
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      configure

+ 3
- 0
configure View File

@@ -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"


Loading…
Cancel
Save