Mercurial > mplayer.hg
diff liba52/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 | 01a9cf43074c |
children | d7ec2e2bb0da |
line wrap: on
line diff
--- a/liba52/Makefile Mon Jan 27 20:46:45 2003 +0000 +++ b/liba52/Makefile Mon Jan 27 21:47:25 2003 +0000 @@ -8,7 +8,11 @@ CFLAGS = $(MLIB_INC) $(OPTFLAGS) ifeq ($(TARGET_ALTIVEC),yes) +ifeq ($(TARGET_OS),Darwin) CFLAGS+= -faltivec +else + CFLAGS+= -maltivec -mabi=altivec +endif endif .SUFFIXES: .c .o