On Wed, Jun 19, 2013 at 6:07 PM, Alex Smith <[email protected]> wrote:
> Instead, since it is implied by O1 or O2, selectively disable frame
> pointer omission for x86 debug builds.  Oy is ignored for x64 targets.
> This also silences warnings with icl targeting x64.
> ---
>  configure | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/configure b/configure
> index f6c89ac..01251ca 100755
> --- a/configure
> +++ b/configure
> @@ -2353,7 +2353,7 @@ msvc_common_flags(){
>              -Wall)                ;;
>              -std=c99)             ;;
>              # Common flags
> -            -fomit-frame-pointer) echo -Oy ;;
> +            -fomit-frame-pointer) ;;
>              -g)                   echo -Z7 ;;
>              -fno-math-errno)      ;;
>              -fno-common)          ;;
> @@ -3947,6 +3947,7 @@ elif enabled pathscale; then
>      add_cflags -fstrict-overflow -OPT:wrap_around_unsafe_opt=OFF
>  elif enabled_any msvc icl; then
>      enabled x86_32 && disable aligned_stack
> +    enabled_all x86_32 debug && add_cflags -Oy-
>      if enabled icl; then
>          # basically -fstrict-aliasing for icl that doesn't work (correctly) 
> on 13.x+
>          check_cpp_condition "windows.h" "__ICL < 1300" && add_cflags 
> -Qansi-alias
> --
> 1.8.1.msysgit.1
>

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

Reply via email to