generic-poky/meta/recipes-support/js/files/usepic.patch
Qing He 9deb373671 update patch upstream status
This patch includes the update of patch upstream status of the following
recipes (50 in all):

grub pciutils setserial dhcp iproute2 libnss-mdns nfs-utils openssl portmap
busybox coreutils dbus dropbear ncurses readline sysfsutils sysvinit tinylogin
udev update-rc.d util-linux elfutils file pkgconfig syslinux ubootchart
yaffs2 findutils gamin hdparm libaio libzypp parted procps sat-solver
screen sed sysklogd tcp-wrapper time zypper attr boost createrepo gnutls
hal js libgcrypt libnl libusb-compat

(From OE-Core rev: 1e6f767663b7d5fb6277fd2b214f4a50e24d4ffd)

Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-13 11:02:14 +01:00

27 lines
856 B
Diff

Upstream-Status: Inappropriate [embedded specific]
Mips needs -fPIC to compile properly. These tests are broken anyway as they test
the build system architecture, not the target. This is a hack.
RP 10/6/2010
Index: src/config/Linux_All.mk
===================================================================
--- src.orig/config/Linux_All.mk 2010-06-10 22:09:43.000000000 +0100
+++ src/config/Linux_All.mk 2010-06-10 22:09:55.000000000 +0100
@@ -90,14 +90,10 @@
# Use the editline library to provide line-editing support.
JS_EDITLINE = 1
-ifeq ($(CPU_ARCH),x86_64)
# Use VA_COPY() standard macro on x86-64
# FIXME: better use it everywhere
OS_CFLAGS += -DHAVE_VA_COPY -DVA_COPY=va_copy
-endif
-ifeq ($(CPU_ARCH),x86_64)
# We need PIC code for shared libraries
# FIXME: better patch rules.mk & fdlibm/Makefile*
OS_CFLAGS += -DPIC -fPIC
-endif