On Fri, Feb 27, 2015 at 12:36:34AM +0100, Janne Grunau wrote:
> --- a/configure
> +++ b/configure
> @@ -2566,11 +2566,20 @@ case "$toolchain" in
> add_cflags -fno-strict-overflow -fstack-protector-all
> add_ldflags -Wl,-z,relro -Wl,-z,now
> ;;
> + xcode-ios)
> + cc_default="$(xcrun -sdk iphoneos -f clang)"
> + sysroot_default="$(xcrun -sdk iphoneos --show-sdk-path)"
> + enable_weak cross_compile
> + target_os_default="darwin"
> + ;;
tabs
> ?*)
> die "Unknown toolchain $toolchain"
> ;;
> esac
>
> +# set defaults for sysroot and target_os before they are used
> +set_default sysroot target_os
> +
> test -n "$cross_prefix" && enable cross_compile
>
> if enabled cross_compile; then
> @@ -2587,7 +2596,7 @@ strip="${cross_prefix}${strip}"
>
> sysinclude_default="${sysroot}/usr/include"
>
> -set_default arch cc pkg_config sysinclude target_exec target_os
> +set_default arch cc pkg_config sysinclude target_exec
> enabled cross_compile || host_cc_default=$cc
> set_default host_cc
I wonder why you don't move the whole block.
Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel