Add --sysroot flag to CPPFLAGS, not CFLAGS

Originally committed as revision 19405 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2009-07-12 13:29:35 +00:00
parent 50a334e426
commit 467256f248

2
configure vendored
View File

@ -1490,7 +1490,7 @@ set_default as
if test -n "$sysroot"; then
case "$cc_type" in
gcc)
add_cflags --sysroot="$sysroot"
add_cppflags --sysroot="$sysroot"
add_ldflags --sysroot="$sysroot"
;;
esac