libpng 1.2.12: Disable the use of x86 assembler code. When building
authorJamie Lenehan <lenehan@twibble.org>
Sun, 10 Sep 2006 02:43:53 +0000 (02:43 +0000)
committerJamie Lenehan <lenehan@twibble.org>
Sun, 10 Sep 2006 02:43:53 +0000 (02:43 +0000)
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 [new file with mode: 0644]
packages/libpng/libpng-1.2.12/.mtn2git_empty [new file with mode: 0644]
packages/libpng/libpng_1.2.12.bb

diff --git a/packages/libpng/1.2.12/.mtn2git_empty b/packages/libpng/1.2.12/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/libpng/libpng-1.2.12/.mtn2git_empty b/packages/libpng/libpng-1.2.12/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
index 24117cb..66b691b 100644 (file)
@@ -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.*//'