summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/js/files/usepic.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-09-01 19:09:11 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-01 19:09:57 +0100
commitd62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch)
treef36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-support/js/files/usepic.patch
parentcaab7fc509bf27706ff3248689f6afd04225cfda (diff)
downloadpoky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-support/js/files/usepic.patch')
-rw-r--r--meta/recipes-support/js/files/usepic.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-support/js/files/usepic.patch b/meta/recipes-support/js/files/usepic.patch
new file mode 100644
index 0000000000..ddd31be9cb
--- /dev/null
+++ b/meta/recipes-support/js/files/usepic.patch
@@ -0,0 +1,24 @@
1Mips needs -fPIC to compile properly. These tests are broken anyway as they test
2the build system architecture, not the target. This is a hack.
3
4RP 10/6/2010
5
6Index: src/config/Linux_All.mk
7===================================================================
8--- src.orig/config/Linux_All.mk 2010-06-10 22:09:43.000000000 +0100
9+++ src/config/Linux_All.mk 2010-06-10 22:09:55.000000000 +0100
10@@ -90,14 +90,10 @@
11 # Use the editline library to provide line-editing support.
12 JS_EDITLINE = 1
13
14-ifeq ($(CPU_ARCH),x86_64)
15 # Use VA_COPY() standard macro on x86-64
16 # FIXME: better use it everywhere
17 OS_CFLAGS += -DHAVE_VA_COPY -DVA_COPY=va_copy
18-endif
19
20-ifeq ($(CPU_ARCH),x86_64)
21 # We need PIC code for shared libraries
22 # FIXME: better patch rules.mk & fdlibm/Makefile*
23 OS_CFLAGS += -DPIC -fPIC
24-endif