[vlc-commits] macosx/configure: drop enforced compiler optimization flags

Felix Paul Kühne git at videolan.org
Wed Sep 9 11:21:16 CEST 2020


vlc/vlc-3.0 | branch: master | Felix Paul Kühne <felix at feepk.net> | Tue Sep  8 16:13:00 2020 +0200| [37e80e69c89a35a63d7bf014ea7df8568898d7a7] | committer: Felix Paul Kühne

macosx/configure: drop enforced compiler optimization flags

(cherry picked from commit d847aa818e363d437d0c342c8b72b3706d588460)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=37e80e69c89a35a63d7bf014ea7df8568898d7a7
---

 extras/package/macosx/configure.sh | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/extras/package/macosx/configure.sh b/extras/package/macosx/configure.sh
index 2b4868cc5b..e617ee2bd3 100755
--- a/extras/package/macosx/configure.sh
+++ b/extras/package/macosx/configure.sh
@@ -3,17 +3,6 @@
 CFLAGS=${CFLAGS}
 LDFLAGS=${LDFLAGS}
 
-case "${ARCH}" in
-    x86_64*)
-        CFLAGS="${CFLAGS} -m64 -march=core2 -mtune=core2"
-        LDFLAGS="${LDFLAGS} -m64"
-        ;;
-    *x86*)
-        CFLAGS="${CFLAGS} -m32 -march=prescott -mtune=generic"
-        LDFLAGS="${LDFLAGS} -m32"
-        ;;
-esac
-
 OPTIONS="
         --prefix=`pwd`/vlc_install_dir
         --enable-macosx



More information about the vlc-commits mailing list