mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Add --sysroot flag to CPPFLAGS, not CFLAGS
Originally committed as revision 19405 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
50a334e426
commit
467256f248
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user