[FFmpeg-cvslog] r17500 - trunk/configure
mru
subversion
Sat Feb 21 22:07:38 CET 2009
Author: mru
Date: Sat Feb 21 22:07:37 2009
New Revision: 17500
Log:
Pass sysroot argument to gcc
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Sat Feb 21 22:07:34 2009 (r17499)
+++ trunk/configure Sat Feb 21 22:07:37 2009 (r17500)
@@ -1366,6 +1366,15 @@ fi
test -n "$cc_type" && enable $cc_type || echolog "Unknown C compiler $cc"
+if test -n "$sysroot"; then
+ case "$cc_type" in
+ gcc)
+ add_cflags --sysroot="$sysroot"
+ add_ldflags --sysroot="$sysroot"
+ ;;
+ esac
+fi
+
# compiler sanity check
check_exec <<EOF
int main(void){ return 0; }
More information about the ffmpeg-cvslog
mailing list