From 24e2d532182eb0c566d5c21c140f82b46e22a527 Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Mon, 30 Dec 2013 02:33:05 -0300 Subject: [PATCH] Configure, sysroot: add --sysroot to cppflags --- Configure | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Configure b/Configure index e679e50..ab60b3a 100755 --- a/Configure +++ b/Configure @@ -1970,6 +1970,11 @@ if test "X$sysroot" != X; then 'undef'|*) ldflags="$ldflags --sysroot=$sysroot" esac + case "$cppflags" in + *sysroot*) ;; + 'undef'|*) + cppflags="$cppflags --sysroot=$sysroot" + esac # lddlflags updated below in lddlflags section; # same with cccdlflags ;; -- 2.7.4