diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-27 21:47:25 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-27 21:47:25 +0000 |
commit | 54cbe5eec30a3ad956fd4cc4c25e81dc64d265b6 (patch) | |
tree | 730f05e8c86d86b1c8383c5eabb8a673198b77a3 /liba52/Makefile | |
parent | 85ea1a5733395160c41c46e19c4a6c268f9de901 (diff) | |
download | mpv-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 'liba52/Makefile')
-rw-r--r-- | liba52/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/liba52/Makefile b/liba52/Makefile index b8c0b71311..d09e2e7378 100644 --- a/liba52/Makefile +++ b/liba52/Makefile @@ -8,7 +8,11 @@ OBJS = $(SRCS:.c=.o) CFLAGS = $(MLIB_INC) $(OPTFLAGS) ifeq ($(TARGET_ALTIVEC),yes) +ifeq ($(TARGET_OS),Darwin) CFLAGS+= -faltivec +else + CFLAGS+= -maltivec -mabi=altivec +endif endif .SUFFIXES: .c .o |