[vlc-devel] [PATCH] Fix win32 build errors

Rafaël Carré funman at videolan.org
Mon May 28 23:23:09 CEST 2012


Le 28/05/2012 17:22, Edward Wang a écrit :
> Fix include/vlc_atomic.h:124: undefined reference to `___sync_bool_compare_and_swap_4' etc
> ---
>  extras/package/win32/configure.sh |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/extras/package/win32/configure.sh b/extras/package/win32/configure.sh
> index b1e5e13..7605fed 100755
> --- a/extras/package/win32/configure.sh
> +++ b/extras/package/win32/configure.sh
> @@ -37,4 +37,4 @@ then
>      OPTIONS="${OPTIONS} --disable-taglib --disable-mkv"
>  fi
>  
> -sh "$(dirname $0)"/../../../configure ${OPTIONS} $*
> +sh "$(dirname $0)"/../../../configure ${OPTIONS} $* CFLAGS="-march=pentium"

Does it make sense for win64 ?



More information about the vlc-devel mailing list