mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
vulkan-samples: Disable overriding-option as error
Clang complains/warns about mixing -ffp-contract=fast and -ffp-model=precise lower this to warning only, this does not impact code generation, we still get the diagnostic messge but wont break the build (From OE-Core rev: 0fc79e9b7aea87de87f461eebaaa2c00c9ec4a77) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
d8b0adfaac
commit
59579fab11
|
@ -31,4 +31,8 @@ EXTRA_OECMAKE += "-DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON"
|
|||
# This needs to be specified explicitly to avoid xcb/xlib dependencies
|
||||
EXTRA_OECMAKE += "-DVKB_WSI_SELECTION=D2D"
|
||||
|
||||
# Clang is fussy about incompatible options on aarch64/x86_64
|
||||
# x86_64-poky-linux-clang++: error: overriding '-ffp-model=precise' option with '-ffp-contract=fast' [-Werror,-Woverriding-option]
|
||||
CXXFLAGS:append:toolchain-clang = " -Wno-error=overriding-option"
|
||||
|
||||
COMPATIBLE_HOST = "(aarch64|x86_64).*-linux"
|
||||
|
|
Loading…
Reference in New Issue
Block a user