aboutsummaryrefslogtreecommitdiffstats
path: root/distrib/libpng-1.2.19/sources.make
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/libpng-1.2.19/sources.make')
-rw-r--r--distrib/libpng-1.2.19/sources.make6
1 files changed, 5 insertions, 1 deletions
diff --git a/distrib/libpng-1.2.19/sources.make b/distrib/libpng-1.2.19/sources.make
index d8088c7..a9b37ba 100644
--- a/distrib/libpng-1.2.19/sources.make
+++ b/distrib/libpng-1.2.19/sources.make
@@ -7,7 +7,11 @@ LIBPNG_SOURCES := png.c pngerror.c pngget.c pngmem.c pngpread.c pngread.c \
ifeq ($(HOST_OS),darwin)
LIBPNG_CFLAGS += -DPNG_NO_MMX_CODE
else
- LIBPNG_SOURCES += pnggccrd.c
+ ifeq ($(HOST_ARCH),ppc)
+ LIBPNG_CFLAGS += -DPNG_NO_MMX_CODE
+ else
+ LIBPNG_SOURCES += pnggccrd.c
+ endif
endif
LIBPNG_SOURCES := $(LIBPNG_SOURCES:%=$(LIBPNG_DIR)/%)