diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-08-24 16:07:04 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-08-25 08:01:35 -0700 |
commit | c939359a0271bcdaf56e702a20cfd8bb037808aa (patch) | |
tree | 0dda7c6572797b017df07537f4702509a3c0f676 /meta-oe/recipes-benchmark | |
parent | a54a6b3823dc42f9f95faf75019b7d674d493e07 (diff) | |
download | meta-openembedded-contrib-c939359a0271bcdaf56e702a20cfd8bb037808aa.tar.gz |
dhrystone: Disable warnings as errors with clang
The sourcecode predate C99 and newer compiler are becoming string about
language syntax and standards compliance,so this starts to fail builds
due to additional warnings which are being promoted to errors. The
objective of this package is measuring performance so we can ignore
compiler warnings as errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-benchmark')
-rw-r--r-- | meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb b/meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb index 17e8c700ca..d809a564e9 100644 --- a/meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb +++ b/meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb @@ -22,5 +22,6 @@ do_install() { # Prevent procedure merging as required by dhrystone.c: CFLAGS += "-fno-lto" +CFLAGS:append:toolchain-clang = " -Wno-error=implicit-function-declaration -Wno-error=deprecated-non-prototype -Wno-error=implicit-int" LDFLAGS += "-fno-lto" |