mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
highway,libjxl: Remove -mfp16-format=ieee when using clang compiler
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -13,3 +13,5 @@ S = "${WORKDIR}/git"
|
||||
|
||||
EXTRA_OECMAKE = "-DBUILD_TESTING=0 -DCMAKE_BUILD_TYPE=Release"
|
||||
CXXFLAGS:append:arm = " -mfp16-format=ieee"
|
||||
# Option not supported with clang and its default format for __fp16 anyway with clang
|
||||
CXXFLAGS:remove:toolchain-clang = "-mfp16-format=ieee"
|
||||
|
||||
@@ -39,4 +39,5 @@ PACKAGECONFIG[mime] = "-DJPEGXL_ENABLE_PLUGIN_MIME=ON,-DJPEGXL_ENABLE_PLUGIN_MIM
|
||||
FILES:${PN} += "${libdir}/gdk-pixbuf-2.0 ${datadir}"
|
||||
|
||||
CXXFLAGS:append:arm = " -mfp16-format=ieee"
|
||||
|
||||
# Option not supported with clang and its default format for __fp16 anyway with clang
|
||||
CXXFLAGS:remove:toolchain-clang = "-mfp16-format=ieee"
|
||||
|
||||
Reference in New Issue
Block a user