[SPECCPU2017] Add CXXPORTABILITY flags for 526.blender_r
Summary:
as suggested by `config/Example-aocc-linux-x86.cfg` (v1.1) or `config/Example-clang-llvm-linux-x86.cfg` (v1.0)
Otherwise, it may fail to compile.
Reviewers: Meinersbur, kristof.beyls, MatzeB
Reviewed by: Meinersbur
Differential Revision: https://reviews.llvm.org/D71684
diff --git a/External/SPEC/CFP2017rate/526.blender_r/CMakeLists.txt b/External/SPEC/CFP2017rate/526.blender_r/CMakeLists.txt
index e063991..4c7aeca 100644
--- a/External/SPEC/CFP2017rate/526.blender_r/CMakeLists.txt
+++ b/External/SPEC/CFP2017rate/526.blender_r/CMakeLists.txt
@@ -15,6 +15,7 @@
-DHAVE_UNSIGNED_CHAR
)
add_compile_options(-funsigned-char)
+add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-D__BOOL_DEFINED>)
speccpu2017_add_include_dirs(
specrand
blender/extern/binreloc/include