diff options
author | Graham Gower <graham.gower@gmail.com> | 2009-08-10 06:28:49 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-08-10 06:49:56 +0200 |
commit | 2c748884ee77eb4544e585bdc8bb3aac80626a52 (patch) | |
tree | a7c592931f894cbbccb7c809d71f5d1dbe4489d1 /recipes/icu/files | |
parent | da247ac529ceaf0d3d4ee6252022231701656c0c (diff) |
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 <zecke@selfish.org>
Diffstat (limited to 'recipes/icu/files')
-rw-r--r-- | recipes/icu/files/rematch-gcc-bug.patch | 2 |
1 files changed, 1 insertions, 1 deletions
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 |