summaryrefslogtreecommitdiffstats
path: root/mp3lib/Makefile
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-27 21:47:25 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-27 21:47:25 +0000
commit54cbe5eec30a3ad956fd4cc4c25e81dc64d265b6 (patch)
tree730f05e8c86d86b1c8383c5eabb8a673198b77a3 /mp3lib/Makefile
parent85ea1a5733395160c41c46e19c4a6c268f9de901 (diff)
downloadmpv-54cbe5eec30a3ad956fd4cc4c25e81dc64d265b6.tar.bz2
mpv-54cbe5eec30a3ad956fd4cc4c25e81dc64d265b6.tar.xz
The two attached patches *should* allow for proper
compilation of the AltiVec stuff on both Darwin and non-Darwin system. They've only been tested for compilation on Debian using Debian's gcc-3.2. Romain Dolbeau <dolbeau@irisa.fr> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9123 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib/Makefile')
-rw-r--r--mp3lib/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/mp3lib/Makefile b/mp3lib/Makefile
index 592691a32f..389da3af3e 100644
--- a/mp3lib/Makefile
+++ b/mp3lib/Makefile
@@ -26,7 +26,11 @@ ifeq ($(TARGET_ARCH_POWERPC),yes)
ifeq ($(TARGET_ALTIVEC),yes)
SRCS += dct64_altivec.c
OBJS += dct64_altivec.o
+ifeq ($(TARGET_OS),Darwin)
CFLAGS += -faltivec
+else
+CFLAGS += -maltivec -mabi=altivec
+endif
endif
endif