diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-10.1/0012-gcc-Fix-argument-list-too-long-error.patch | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-10.1/0012-gcc-Fix-argument-list-too-long-error.patch b/meta/recipes-devtools/gcc/gcc-10.1/0012-gcc-Fix-argument-list-too-long-error.patch index acbd75f139..88e1715b5c 100644 --- a/meta/recipes-devtools/gcc/gcc-10.1/0012-gcc-Fix-argument-list-too-long-error.patch +++ b/meta/recipes-devtools/gcc/gcc-10.1/0012-gcc-Fix-argument-list-too-long-error.patch | |||
@@ -17,6 +17,10 @@ $(sort list) doesn't need this. | |||
17 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | 17 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> |
18 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 18 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
19 | 19 | ||
20 | RP: gcc then added *.h and *.def additions to this list, breaking the original | ||
21 | fix. Add the sort to the original gcc code, leaving the tr+sort to fix the original | ||
22 | issue but include the new files too as reported by Zhuang <qiuguang.zqg@alibaba-inc.com> | ||
23 | |||
20 | Upstream-Status: Pending | 24 | Upstream-Status: Pending |
21 | --- | 25 | --- |
22 | gcc/Makefile.in | 2 +- | 26 | gcc/Makefile.in | 2 +- |
@@ -31,7 +35,7 @@ index a67d2cc18d6..480c9366418 100644 | |||
31 | # files. All other files are flattened to a single directory. | 35 | # files. All other files are flattened to a single directory. |
32 | $(mkinstalldirs) $(DESTDIR)$(plugin_includedir) | 36 | $(mkinstalldirs) $(DESTDIR)$(plugin_includedir) |
33 | - headers=`echo $(PLUGIN_HEADERS) $$(cd $(srcdir); echo *.h *.def) | tr ' ' '\012' | sort -u`; \ | 37 | - headers=`echo $(PLUGIN_HEADERS) $$(cd $(srcdir); echo *.h *.def) | tr ' ' '\012' | sort -u`; \ |
34 | + headers="$(sort $(PLUGIN_HEADERS) $$(cd $(srcdir); echo *.h *.def))"; \ | 38 | + headers=`echo $(sort $(PLUGIN_HEADERS)) $$(cd $(srcdir); echo *.h *.def) | tr ' ' '\012' | sort -u`; \ |
35 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`; \ | 39 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`; \ |
36 | for file in $$headers; do \ | 40 | for file in $$headers; do \ |
37 | if [ -f $$file ] ; then \ | 41 | if [ -f $$file ] ; then \ |