[PATCH] D71684: [SPECCPU2017] Add CXXPORTABILITY flags for 526.blender_r

Yuanfang Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 3 14:36:29 PST 2020


ychen updated this revision to Diff 236131.
ychen added a comment.

address the comment


Repository:
  rT test-suite

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71684/new/

https://reviews.llvm.org/D71684

Files:
  External/SPEC/CFP2017rate/526.blender_r/CMakeLists.txt


Index: External/SPEC/CFP2017rate/526.blender_r/CMakeLists.txt
===================================================================
--- External/SPEC/CFP2017rate/526.blender_r/CMakeLists.txt
+++ 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71684.236131.patch
Type: text/x-patch
Size: 475 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200103/5ee0bbe4/attachment.bin>


More information about the llvm-commits mailing list