diff options
Diffstat (limited to 'meta/recipes-devtools/ruby/ruby/remove_has_include_macros.patch')
-rw-r--r-- | meta/recipes-devtools/ruby/ruby/remove_has_include_macros.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-devtools/ruby/ruby/remove_has_include_macros.patch b/meta/recipes-devtools/ruby/ruby/remove_has_include_macros.patch index 6e90a8ee77..b78e3db892 100644 --- a/meta/recipes-devtools/ruby/ruby/remove_has_include_macros.patch +++ b/meta/recipes-devtools/ruby/ruby/remove_has_include_macros.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 303fe0d20184203f1ac86d2a77b1447d47c8c29d Mon Sep 17 00:00:00 2001 | 1 | From e74b57febec9bd806e29025e6eeb8091e7021d75 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sun, 26 Jan 2020 11:27:40 -0800 | 3 | Date: Sun, 26 Jan 2020 11:27:40 -0800 |
4 | Subject: [PATCH] Filter out __has_include* compiler defines | 4 | Subject: [PATCH] Filter out __has_include* compiler defines |
@@ -21,12 +21,12 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
21 | 1 file changed, 2 insertions(+) | 21 | 1 file changed, 2 insertions(+) |
22 | 22 | ||
23 | diff --git a/common.mk b/common.mk | 23 | diff --git a/common.mk b/common.mk |
24 | index 7633050..422aa9c 100644 | 24 | index 664f750..3b8fbe6 100644 |
25 | --- a/common.mk | 25 | --- a/common.mk |
26 | +++ b/common.mk | 26 | +++ b/common.mk |
27 | @@ -233,6 +233,8 @@ $(TIMESTAMPDIR)/$(MJIT_HEADER:.h=)$(MJIT_HEADER_SUFFIX).time: probes.h vm.$(OBJE | 27 | @@ -238,6 +238,8 @@ $(TIMESTAMPDIR)/$(MJIT_HEADER:.h=)$(MJIT_HEADER_SUFFIX).time: probes.h vm.$(OBJE |
28 | $(ECHO) building $(@F:.time=.h) | 28 | $(ECHO) building $(@F:.time=.h) |
29 | $(MINIRUBY) $(tooldir)/mjit_tabs.rb "$(MJIT_TABS)" \ | 29 | $(Q)$(MINIRUBY) $(tooldir)/mjit_tabs.rb "$(MJIT_TABS)" \ |
30 | $(CPP) -DMJIT_HEADER $(MJIT_HEADER_FLAGS) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(srcdir)/vm.c $(CPPOUTFLAG)$(@F:.time=.h).new | 30 | $(CPP) -DMJIT_HEADER $(MJIT_HEADER_FLAGS) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(srcdir)/vm.c $(CPPOUTFLAG)$(@F:.time=.h).new |
31 | + $(Q)sed -i -e "/#define __has_include __has_include/d" $(@F:.time=.h).new | 31 | + $(Q)sed -i -e "/#define __has_include __has_include/d" $(@F:.time=.h).new |
32 | + $(Q)sed -i -e "/#define __has_include_next __has_include_next/d" $(@F:.time=.h).new | 32 | + $(Q)sed -i -e "/#define __has_include_next __has_include_next/d" $(@F:.time=.h).new |