diff options
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 |