[oe-commits] org.oe.dev libpng 1.2.12: Disable the use of x86 assembler code. When building

lenehan commit openembedded-commits at lists.openembedded.org
Sun Sep 10 02:48:43 UTC 2006


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.

Author: lenehan at openembedded.org
Branch: org.openembedded.dev
Revision: 0cce8d25e8250927bef25b432c8b90d25e3b1a3c
ViewMTN: http://monotone.openembedded.org/revision.psp?id=0cce8d25e8250927bef25b432c8b90d25e3b1a3c
Files:
1
packages/libpng/1.2.12
packages/libpng/libpng-1.2.12
packages/libpng/libpng_1.2.12.bb
Diffs:

#
# mt diff -r7a92a5cb1aff0d3c168e4cc2a6147b01ed3e7682 -r0cce8d25e8250927bef25b432c8b90d25e3b1a3c
#
# 
# 
# add_dir "packages/libpng/1.2.12"
# 
# add_dir "packages/libpng/libpng-1.2.12"
# 
# patch "packages/libpng/libpng_1.2.12.bb"
#  from [dc1e09b684e60937bbf8e53e7f05696e980de98f]
#    to [57c470e1a0907005d984c78703810a061271dba9]
# 
============================================================
--- packages/libpng/libpng_1.2.12.bb	dc1e09b684e60937bbf8e53e7f05696e980de98f
+++ packages/libpng/libpng_1.2.12.bb	57c470e1a0907005d984c78703810a061271dba9
@@ -24,6 +24,7 @@ EXTRA_OEMAKE_append = " ZLIBINC=${STAGIN
 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.*//'






More information about the Openembedded-commits mailing list