On 2014-03-23 20:23:42 +0100, Vittorio Giovara wrote: > > Attached patch simplifies iOS configure lines.
simplifies how? I don't think I have anything in my configure command which could be removed after this patch. see https://fate.libav.org/armv7-apple-darwin-xcode5/20140320182122 or https://fate.libav.org/armv8-apple-darwin-xcode51/20140320200845 for examples. The config lines are long but most of is due to the complicated fate setup. > From 40296347384e5d975885ab94b04956f8ffbd15f7 Mon Sep 17 00:00:00 2001 > From: Carl Eugen Hoyos <[email protected]> > Date: Sun, 23 Mar 2014 17:57:32 +0100 > Subject: [PATCH] Always pass the configure option sysroot to --sysroot and > -isysroot. > > On darwin, --sysroot may be ignored. > --- > configure | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/configure b/configure > index 0b90d7d..70b69f8 100755 > --- a/configure > +++ b/configure > @@ -3398,6 +3398,9 @@ if test -n "$sysroot"; then > gcc|llvm_gcc|clang) > add_cppflags --sysroot="$sysroot" > add_ldflags --sysroot="$sysroot" > +# On Darwin --sysroot may be ignored, -isysroot always affects headers and > linking > + add_cppflags -isysroot "$sysroot" > + add_ldflags -isysroot "$sysroot" The description in the gcc man page is a little strange but at least clang from Xcode 5.1 properly passes the --sysroot parameter to ld's -syslibroot Janne _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
