diff 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
line wrap: on
line diff
--- a/mp3lib/Makefile	Mon Jan 27 20:46:45 2003 +0000
+++ b/mp3lib/Makefile	Mon Jan 27 21:47:25 2003 +0000
@@ -26,7 +26,11 @@
 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