[vlc-devel] [PATCH] contrib: flac: use -mstackrealign on win32

Jean-Baptiste Kempf jb at videolan.org
Fri Apr 10 09:41:41 CEST 2015


Ship it.

On 10 Apr, Tristan Matthews wrote :
> Fixes #14104
> ---
>  contrib/src/flac/rules.mak | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/contrib/src/flac/rules.mak b/contrib/src/flac/rules.mak
> index 7e5ad72..53cf8e0 100644
> --- a/contrib/src/flac/rules.mak
> +++ b/contrib/src/flac/rules.mak
> @@ -42,10 +42,15 @@ FLACCONF += --disable-asm-optimizations
>  endif
>  endif
>  
> +FLAC_CFLAGS := $(CFLAGS)
> +ifdef HAVE_WIN32
> +FLAC_CFLAGS += -mstackrealign
> +endif
> +
>  DEPS_flac = ogg $(DEPS_ogg)
>  
>  .flac: flac
> -	cd $< && $(HOSTVARS) ./configure $(FLACCONF)
> +	cd $< && $(HOSTVARS) CFLAGS="$(FLAC_CFLAGS)" ./configure $(FLACCONF)
>  	cd $</include && $(MAKE) install
>  	cd $</src && $(MAKE) -C share install && $(MAKE) -C libFLAC install
>  	touch $@
> -- 
> 2.1.4
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list