Commit a3bcd2df authored by Rafaël Carré's avatar Rafaël Carré
Browse files

Revert "macosx/framework: Support multiple architectures."

This reverts commit 5a20b90e.
parent d6be76f7
......@@ -48,6 +48,7 @@ args="--disable-ncurses $args"
args="--disable-httpd $args"
args="--disable-vlm $args"
args="--disable-skins2 $args"
args="--disable-x11 $args"
args="--disable-glx $args"
args="--disable-xvideo $args"
args="--disable-xcb $args"
......@@ -70,28 +71,12 @@ else
args="--enable-release $args"
# 64 bits switches
for a in $ARCHS; do
archs_args="-arch $a $archs_args"
let archcount=archcount+1
if test $archcount -ge 2; then
echo "****"
echo "WARNING: You are building a VLC with --disable-dependency-tracking"
echo " because FAT architecture are not compatible with "
echo " disable-dependency-tracking."
echo ""
echo " You will have to do a clean build manually."
echo ""
echo "To disable this message, build only one architecture."
echo ""
echo "****"
args="--disable-dependency-tracking $args"
if test $ARCHS = "x86_64"
args="--build=x86_64-apple-darwin10 $args"
echo "Running [$archs_args] configure $args"
echo "Running configure $args"
CFLAGS="$archs_args" CXXFLAGS="$archs_args" OBJCFLAGS="$archs_args" exec $top_srcdir/configure $args
\ No newline at end of file
CFLAGS="-arch $ARCHS" CXXFLAGS="-arch $ARCHS" CPPFLAGS="-arch $ARCHS" OBJCFLAGS="-arch $ARCHS" exec $top_srcdir/configure $args
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment