Commit 295c44f 1 parent 92104e8 commit 295c44f Copy full SHA for 295c44f
File tree 3 files changed +14
-1
lines changed
3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -28,3 +28,7 @@ target_link_libraries(vast-cc
28
28
)
29
29
30
30
mlir_check_link_libraries(vast-cc)
31
+
32
+ if (NOT LLVM_ENABLE_RTTI)
33
+ set_target_properties (vast-cc PROPERTIES COMPILE_FLAGS "-fno-rtti" )
34
+ endif ()
Original file line number Diff line number Diff line change @@ -15,4 +15,8 @@ target_link_libraries(vast-opt
15
15
MLIRHighLevel
16
16
)
17
17
18
- mlir_check_all_link_libraries(vast-opt)
18
+ mlir_check_all_link_libraries(vast-opt)
19
+
20
+ if (NOT LLVM_ENABLE_RTTI)
21
+ set_target_properties (vast-opt PROPERTIES COMPILE_FLAGS "-fno-rtti" )
22
+ endif ()
Original file line number Diff line number Diff line change @@ -16,3 +16,8 @@ target_link_libraries( FromSourceParser
16
16
17
17
vast_settings
18
18
)
19
+
20
+
21
+ if (NOT LLVM_ENABLE_RTTI)
22
+ set_target_properties (FromSourceParser PROPERTIES COMPILE_FLAGS "-fno-rtti" )
23
+ endif ()
You can’t perform that action at this time.
0 commit comments