mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 14:25:53 +01:00
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>
This commit is contained in:
parent
a54a6b3823
commit
c939359a02
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user