From 1d545ebf6ef93aa20d71c8527f2e9783729839dc Mon Sep 17 00:00:00 2001 From: Jamie Lenehan Date: Sun, 10 Sep 2006 02:43:53 +0000 Subject: libpng 1.2.12: Disable the use of x86 assembler code. When building for i586 or i686 it attempts to use the assembler code but does not link it in, so either the assembly code needs to be disabled or the makefiles patch to link in the assembly code. Closes #1326. --- packages/libpng/1.2.12/.mtn2git_empty | 0 packages/libpng/libpng-1.2.12/.mtn2git_empty | 0 packages/libpng/libpng_1.2.12.bb | 1 + 3 files changed, 1 insertion(+) create mode 100644 packages/libpng/1.2.12/.mtn2git_empty create mode 100644 packages/libpng/libpng-1.2.12/.mtn2git_empty diff --git a/packages/libpng/1.2.12/.mtn2git_empty b/packages/libpng/1.2.12/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/libpng/libpng-1.2.12/.mtn2git_empty b/packages/libpng/libpng-1.2.12/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 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.*//' -- cgit v1.2.3