On Sun, Feb 10, 2013 at 01:37:50PM +0100, Diego Biurrun wrote:
> From: Rafael Antonio Porras Samaniego <[email protected]>
> 
> This is required to make math constants visible. Fixes Bugzilla #414.
> 
> --- a/configure
> +++ b/configure
> @@ -2924,6 +2924,7 @@ case $target_os in
>          enable dos_paths
>          add_cppflags -U__STRICT_ANSI__
> +        add_host_cppflags -U__STRICT_ANSI__
>          ;;

This should be moved to the libc section and done for Cygwin/newlib as well.

But there is a catch: Host OS need not be the same as target OS.  This is
not strictly correct and it would need to be tested at least against the
case of cross-compiling a mingw target on a linux host.

Properly detecting and setting libc and other settings for target and host
OS opens a big can of worms that will not be easy to fix correctly and
cleanly.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to