summaryrefslogtreecommitdiff
path: root/packages/libpng/libpng_1.2.12.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libpng/libpng_1.2.12.bb')
-rw-r--r--packages/libpng/libpng_1.2.12.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/libpng/libpng_1.2.12.bb b/packages/libpng/libpng_1.2.12.bb
index 24117cb0ef..66b691b617 100644
--- a/packages/libpng/libpng_1.2.12.bb
+++ b/packages/libpng/libpng_1.2.12.bb
@@ -24,6 +24,7 @@ S = "${WORKDIR}/libpng-${PV}"
inherit pkgconfig binconfig pkgconfig
EXTRA_OEMAKE_append = " ZLIBINC=${STAGING_INCDIR} ZLIBLIB=${STAGING_LIBDIR}"
+CFLAGS += "-DPNG_NO_ASSEMBLER_CODE"
do_compile() {
sed < scripts/makefile.linux > makefile -e 's/^ZLIBINC.*//' -e 's/^ZLIBLIB.*//'