mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 18:23:02 +01:00
Drop 0001-Modify-shebang-of-libexec-y2racc-and-libexec-racc2y.patch as files removed upstream. License-Update: formatting Drop autoconf270.patch, as no longer needed with 3.0.0 (I verified against master-next which has the new autoconf). (From OE-Core rev: 8fbf04053845aac24e0c0f1395051b60294e02a3) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
36 lines
1.5 KiB
Diff
36 lines
1.5 KiB
Diff
From 303fe0d20184203f1ac86d2a77b1447d47c8c29d Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Sun, 26 Jan 2020 11:27:40 -0800
|
|
Subject: [PATCH] Filter out __has_include* compiler defines
|
|
|
|
They are internal to compiler and this header is later on includes in C
|
|
files, but newer gcc >= 10 complains about it.
|
|
|
|
error in initial header file:
|
|
| In file included from /tmp/20200124-86625-14hiju4.c:1:
|
|
| /tmp/20200124-86625-11y6l6i.h:13849:9: error: "__has_include" cannot be used as a macro name
|
|
| 13849 | #define __has_include __has_include
|
|
| | ^~~~~~~~~~~~~
|
|
| compilation terminated due to -Wfatal-errors.
|
|
|
|
Upstream-Status: Pending
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
---
|
|
common.mk | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/common.mk b/common.mk
|
|
index 7633050..422aa9c 100644
|
|
--- a/common.mk
|
|
+++ b/common.mk
|
|
@@ -233,6 +233,8 @@ $(TIMESTAMPDIR)/$(MJIT_HEADER:.h=)$(MJIT_HEADER_SUFFIX).time: probes.h vm.$(OBJE
|
|
$(ECHO) building $(@F:.time=.h)
|
|
$(MINIRUBY) $(tooldir)/mjit_tabs.rb "$(MJIT_TABS)" \
|
|
$(CPP) -DMJIT_HEADER $(MJIT_HEADER_FLAGS) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(srcdir)/vm.c $(CPPOUTFLAG)$(@F:.time=.h).new
|
|
+ $(Q)sed -i -e "/#define __has_include __has_include/d" $(@F:.time=.h).new
|
|
+ $(Q)sed -i -e "/#define __has_include_next __has_include_next/d" $(@F:.time=.h).new
|
|
$(Q) $(IFCHANGE) "--timestamp=$@" $(@F:.time=.h) $(@F:.time=.h).new
|
|
|
|
$(MJIT_HEADER:.h=)$(MJIT_HEADER_SUFFIX).h: $(TIMESTAMPDIR)/$(MJIT_HEADER:.h=)$(MJIT_HEADER_SUFFIX).time
|