Fix harfbuzz-ng compilation for Integrity
Add --restrict definition, because GHS compiler doesn't support it by default Pick-to: 6.2 Change-Id: I6766f2fe309802ad9de333edd6ed43f7a187616f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>bb10
parent
0c09f4489d
commit
22a058bcf0
|
|
@ -65,6 +65,12 @@ qt_internal_add_3rdparty_library(BundledHarfbuzz
|
|||
PUBLIC_INCLUDE_DIRECTORIES
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/harfbuzz>
|
||||
)
|
||||
|
||||
# GHS compiler doesn't support the __restrict keyword
|
||||
if(INTEGRITY)
|
||||
target_compile_definitions(BundledHarfbuzz PRIVATE __restrict=)
|
||||
endif()
|
||||
|
||||
qt_disable_warnings(BundledHarfbuzz)
|
||||
qt_set_symbol_visibility_hidden(BundledHarfbuzz)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue