From cc6d549adbb838ef87b1f251ca469dc4c3dd39aa Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 23 Mar 2014 17:57:32 +0100 Subject: Always pass the configure option sysroot to --sysroot and -isysroot. On darwin, --sysroot may be ignored. --- configure | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure') diff --git a/configure b/configure index f0a05b00ff..2ea7e3c01f 100755 --- a/configure +++ b/configure @@ -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" -- cgit v1.2.3