Mercurial > mplayer.hg
comparison mp3lib/Makefile @ 9122:5ba896a38d75
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>
author | arpi |
---|---|
date | Mon, 27 Jan 2003 21:47:25 +0000 |
parents | 60d144a16088 |
children | 25614fe4ed1a |
comparison
equal
deleted
inserted
replaced
9121:57605e30cda4 | 9122:5ba896a38d75 |
---|---|
24 endif | 24 endif |
25 ifeq ($(TARGET_ARCH_POWERPC),yes) | 25 ifeq ($(TARGET_ARCH_POWERPC),yes) |
26 ifeq ($(TARGET_ALTIVEC),yes) | 26 ifeq ($(TARGET_ALTIVEC),yes) |
27 SRCS += dct64_altivec.c | 27 SRCS += dct64_altivec.c |
28 OBJS += dct64_altivec.o | 28 OBJS += dct64_altivec.o |
29 ifeq ($(TARGET_OS),Darwin) | |
29 CFLAGS += -faltivec | 30 CFLAGS += -faltivec |
31 else | |
32 CFLAGS += -maltivec -mabi=altivec | |
33 endif | |
30 endif | 34 endif |
31 endif | 35 endif |
32 | 36 |
33 .SUFFIXES: .c .o | 37 .SUFFIXES: .c .o |
34 | 38 |