Add --sysroot flag to CPPFLAGS, not CFLAGS
Originally committed as revision 19405 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -1490,7 +1490,7 @@ set_default as
|
|||||||
if test -n "$sysroot"; then
|
if test -n "$sysroot"; then
|
||||||
case "$cc_type" in
|
case "$cc_type" in
|
||||||
gcc)
|
gcc)
|
||||||
add_cflags --sysroot="$sysroot"
|
add_cppflags --sysroot="$sysroot"
|
||||||
add_ldflags --sysroot="$sysroot"
|
add_ldflags --sysroot="$sysroot"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Reference in New Issue
Block a user