diff options
author | Nathan Lynch <nathan_lynch@mentor.com> | 2017-04-25 17:33:55 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-28 11:32:21 +0100 |
commit | b1234fc02e50c91ce9c83b2fd20c16e98cf207a8 (patch) | |
tree | a7f0497d8d1ae2e50ab7a605426faf1e08b3e260 /meta/recipes-kernel/lttng/lttng-modules_2.9.1.bb | |
parent | e2cf69be65c289bc029f81e6f25908e2fc12b5f7 (diff) | |
download | openembedded-core-b1234fc02e50c91ce9c83b2fd20c16e98cf207a8.tar.gz openembedded-core-b1234fc02e50c91ce9c83b2fd20c16e98cf207a8.tar.bz2 openembedded-core-b1234fc02e50c91ce9c83b2fd20c16e98cf207a8.zip |
lttng-modules: work around GCC 7 changes
Avoid using LTTng's BUILD_RUNTIME_BUG_ON macro, as it appears to run
into a similar problem as Linux experienced with __builtin_constant_p
and dead code elimination.
Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-modules_2.9.1.bb')
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-modules_2.9.1.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.9.1.bb b/meta/recipes-kernel/lttng/lttng-modules_2.9.1.bb index abff79d06f..b48f9cff9a 100644 --- a/meta/recipes-kernel/lttng/lttng-modules_2.9.1.bb +++ b/meta/recipes-kernel/lttng/lttng-modules_2.9.1.bb @@ -11,7 +11,8 @@ inherit module COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|nios2|arm).*-linux' SRC_URI = "https://lttng.org/files/${BPN}/${BPN}-${PV}.tar.bz2 \ - file://Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch" + file://Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch \ + file://BUILD_RUNTIME_BUG_ON-vs-gcc7.patch" SRC_URI[md5sum] = "5a16bca52233cc2bdff572b1120a88f6" SRC_URI[sha256sum] = "62078fe3254ca65969db4b72e59042cd797dbf2740848f8f82384877ae460d54" |