[vlc-devel] [PATCH 1/2] macosx/configure: drop enforced compiler optimization flags

Felix Paul Kühne fkuehne at videolan.org
Tue Sep 8 16:25:53 CEST 2020


From: Felix Paul Kühne <felix at feepk.net>

---
 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 3f60488b20..d7f35da600 100755
--- a/extras/package/macosx/configure.sh
+++ b/extras/package/macosx/configure.sh
@@ -6,17 +6,6 @@ SCRIPTDIR=$(dirname "$0")
 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=/
         --enable-macosx
-- 
2.20.1 (Apple Git-117)



More information about the vlc-devel mailing list