From 2c748884ee77eb4544e585bdc8bb3aac80626a52 Mon Sep 17 00:00:00 2001 From: Graham Gower Date: Mon, 10 Aug 2009 06:28:49 +0200 Subject: icu: Fix compilation for mips using -fPIC on the rematch.o /home/grg/oe/tmp/cross/mipsel/lib/gcc/mipsel-angstrom-linux/4.4.1/../../../../mipsel-angstrom-linux/bin/ld: rematch.o: relocation R_MIPS_HI16 against `__gnu_local_gp' can not be used when making a shared object; recompile with -fPIC http://patchwork.openembedded.org/patch/920/ Signed-Off-By: Holger Hans Peter Freyther --- recipes/icu/files/rematch-gcc-bug.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/icu/files/rematch-gcc-bug.patch b/recipes/icu/files/rematch-gcc-bug.patch index 4d47056ac5..5f516e396f 100644 --- a/recipes/icu/files/rematch-gcc-bug.patch +++ b/recipes/icu/files/rematch-gcc-bug.patch @@ -5,7 +5,7 @@ all-local: $(ALL_TARGETS) +rematch.o: $(srcdir)/rematch.cpp -+ $(CXX) $(CPPFLAGS) $(DEFS) -c -o $@ $< ++ $(CXX) -fPIC $(CPPFLAGS) $(DEFS) -c -o $@ $< + install-local: install-headers install-library -- cgit v1.2.3