aboutsummaryrefslogtreecommitdiffstats
path: root/distrib
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2012-03-30 10:54:20 -0700
committerAndrew Hsieh <andrewhsieh@google.com>2012-06-01 13:40:45 +0800
commitd00f7c4b4cbd09aa9fdcd484f0eb764417134657 (patch)
treec65bfc8e7ababc8cd72462d5af7544da6d091e3c /distrib
parent3d218582b2edf2d7cdd0dca038814753efa415ff (diff)
downloadexternal_qemu-d00f7c4b4cbd09aa9fdcd484f0eb764417134657.zip
external_qemu-d00f7c4b4cbd09aa9fdcd484f0eb764417134657.tar.gz
external_qemu-d00f7c4b4cbd09aa9fdcd484f0eb764417134657.tar.bz2
fix BUILD_DEBUG_EMULATOR build
Change-Id: Ib888b8114d77270383c6ac563fb36bfdaf7b72fc Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'distrib')
-rw-r--r--distrib/libpng-1.2.19/sources.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/distrib/libpng-1.2.19/sources.make b/distrib/libpng-1.2.19/sources.make
index f512f7b..4d11126 100644
--- a/distrib/libpng-1.2.19/sources.make
+++ b/distrib/libpng-1.2.19/sources.make
@@ -7,8 +7,10 @@ LIBPNG_SOURCES := png.c pngerror.c pngget.c pngmem.c pngpread.c pngread.c \
# Enable MMX code path for x86, except on Darwin where it fails
PNG_MMX := no
ifeq ($(HOST_ARCH),x86)
+ifneq ($(BUILD_DEBUG_EMULATOR),true)
PNG_MMX := yes
endif
+endif
ifeq ($(HOST_OS),darwin)
PNG_MMX := no
endif
@@ -20,4 +22,3 @@ else
endif
LIBPNG_SOURCES := $(LIBPNG_SOURCES:%=$(LIBPNG_DIR)/%)
-