diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/icu/files/use-g++-for-linking.patch | 67 | ||||
-rw-r--r-- | meta/packages/icu/icu_3.6.bb | 3 |
2 files changed, 69 insertions, 1 deletions
diff --git a/meta/packages/icu/files/use-g++-for-linking.patch b/meta/packages/icu/files/use-g++-for-linking.patch new file mode 100644 index 0000000000..4702abc065 --- /dev/null +++ b/meta/packages/icu/files/use-g++-for-linking.patch | |||
@@ -0,0 +1,67 @@ | |||
1 | --- | ||
2 | tools/genccode/Makefile.in | 2 +- | ||
3 | tools/gencmn/Makefile.in | 2 +- | ||
4 | tools/genrb/Makefile.in | 2 +- | ||
5 | tools/pkgdata/Makefile.in | 2 +- | ||
6 | 4 files changed, 4 insertions(+), 4 deletions(-) | ||
7 | |||
8 | --- source.orig/tools/genccode/Makefile.in | ||
9 | +++ source/tools/genccode/Makefile.in | ||
10 | @@ -76,11 +76,11 @@ check-local: all-local | ||
11 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
12 | cd $(top_builddir) \ | ||
13 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | ||
14 | |||
15 | $(TARGET) : $(OBJECTS) | ||
16 | - $(LINK.c) $(OUTOPT)$@ $^ $(LIBS) | ||
17 | + $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) | ||
18 | |||
19 | |||
20 | %.$(SECTION): $(srcdir)/%.$(SECTION).in | ||
21 | cd $(top_builddir) \ | ||
22 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | ||
23 | --- source.orig/tools/gencmn/Makefile.in | ||
24 | +++ source/tools/gencmn/Makefile.in | ||
25 | @@ -76,11 +76,11 @@ check-local: all-local | ||
26 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
27 | cd $(top_builddir) \ | ||
28 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | ||
29 | |||
30 | $(TARGET) : $(OBJECTS) | ||
31 | - $(LINK.c) $(OUTOPT)$@ $^ $(LIBS) | ||
32 | + $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) | ||
33 | |||
34 | %.$(SECTION): $(srcdir)/%.$(SECTION).in | ||
35 | cd $(top_builddir) \ | ||
36 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | ||
37 | |||
38 | --- source.orig/tools/genrb/Makefile.in | ||
39 | +++ source/tools/genrb/Makefile.in | ||
40 | @@ -84,11 +84,11 @@ Makefile: $(srcdir)/Makefile.in $(top_b | ||
41 | |||
42 | $(TARGET) : $(OBJECTS) | ||
43 | $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) | ||
44 | |||
45 | $(DERB) : $(DERB_OBJ) | ||
46 | - $(LINK.c) $(OUTOPT)$@ $^ $(LIBS) | ||
47 | + $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) | ||
48 | |||
49 | |||
50 | # This line is needed to serialize builds when the gmake -j option is used. | ||
51 | $(TARGET_STUB_NAME).$(SECTION): $(DERB_STUB_NAME).$(SECTION) | ||
52 | |||
53 | --- source.orig/tools/pkgdata/Makefile.in | ||
54 | +++ source/tools/pkgdata/Makefile.in | ||
55 | @@ -81,11 +81,11 @@ check-local: all-local | ||
56 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
57 | cd $(top_builddir) \ | ||
58 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | ||
59 | |||
60 | $(TARGET) : $(OBJECTS) | ||
61 | - $(LINK.c) $(OUTOPT)$@ $^ $(LIBS) | ||
62 | + $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) | ||
63 | |||
64 | |||
65 | %.$(SECTION): $(srcdir)/%.$(SECTION).in | ||
66 | cd $(top_builddir) \ | ||
67 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | ||
diff --git a/meta/packages/icu/icu_3.6.bb b/meta/packages/icu/icu_3.6.bb index 6d312a4496..91b25adbe9 100644 --- a/meta/packages/icu/icu_3.6.bb +++ b/meta/packages/icu/icu_3.6.bb | |||
@@ -1,8 +1,9 @@ | |||
1 | require icu-3.6.inc | 1 | require icu-3.6.inc |
2 | 2 | ||
3 | DEPENDS += "icu-native" | 3 | DEPENDS += "icu-native" |
4 | PR = "r3" | ||
4 | 5 | ||
5 | PR = "r2" | 6 | SRC_URI += "file://use-g++-for-linking.patch;patch=1" |
6 | 7 | ||
7 | do_configure_append() { | 8 | do_configure_append() { |
8 | for i in */Makefile */*.inc */*/Makefile */*/*.inc ; do | 9 | for i in */Makefile */*.inc */*/Makefile */*/*.inc ; do |