aboutsummaryrefslogtreecommitdiffstats
path: root/distrib
diff options
context:
space:
mode:
authorMarcus Comstedt <marcus@mc.pp.se>2010-09-26 00:02:29 +0200
committerMarcus Comstedt <marcus@mc.pp.se>2010-10-05 21:58:09 +0200
commit065aceec615663a19e50aacf88867bc6aa10b0e6 (patch)
tree6ee7b97b71ac5739f4417f51fc8162f1abe66258 /distrib
parentc74f74e60c21ee9edf0f6ea1c6d5035041c9d1dc (diff)
downloadexternal_qemu-065aceec615663a19e50aacf88867bc6aa10b0e6.zip
external_qemu-065aceec615663a19e50aacf88867bc6aa10b0e6.tar.gz
external_qemu-065aceec615663a19e50aacf88867bc6aa10b0e6.tar.bz2
Don't build MMX stuff on PowerPC
Change-Id: Ieab047784761f8b9d0862b817319a903f26a4bf5
Diffstat (limited to 'distrib')
-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)/%)