summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/unfs3
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-01-26 11:27:40 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-27 16:48:09 +0000
commit614f764707e53acb346a6ab017871f689f114d09 (patch)
treec1c4015339078735a894f712f84ac7c7c6177d60 /meta/recipes-devtools/unfs3
parentd52913fe1991b41c5d5f68dd591a7a77cd6b4728 (diff)
downloadpoky-614f764707e53acb346a6ab017871f689f114d09.tar.gz
ruby: Remove __has_include and __has_include_next from preprocessed header file
one of the build steps ruby has is that it generated rb_mjit_header.h during configure using gcc preprocessor using -dD which emits built-in defines as well, problem happens when this header is later included in subsequent compiles, where compiler errors out stating that an existing internal define is redefined | /tmp/20200123-2021083-2c601q.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. Since compiler already will take care of it internally we can edit it out from this header file (From OE-Core rev: b4f0df9a0e998af746bcd84cb81ea4ba0107f989) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/unfs3')
0 files changed, 0 insertions, 0 deletions