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

Edward Wang edward.c.wang at compdigitec.com
Mon May 28 12:53:25 CEST 2012


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..55c81d3 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=pentium2"
-- 
1.7.5.4




More information about the vlc-devel mailing list