diff options
Diffstat (limited to 'meta/recipes-support/icu/files/use-g++-for-linking.patch')
-rw-r--r-- | meta/recipes-support/icu/files/use-g++-for-linking.patch | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/meta/recipes-support/icu/files/use-g++-for-linking.patch b/meta/recipes-support/icu/files/use-g++-for-linking.patch new file mode 100644 index 0000000000..4702abc065 --- /dev/null +++ b/meta/recipes-support/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 | ||