Skip to content

Commit cf14cf7

Browse files
committed
[PPC][BOLT] Define macro for POWERPC_AVAILABLE
1 parent ec46103 commit cf14cf7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bolt/lib/Target/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
foreach (tgt ${BOLT_TARGETS_TO_BUILD})
22
add_subdirectory(${tgt})
3-
endforeach()
3+
string(TOUPPER ${tgt} TGT_UPPER)
4+
add_definitions(-D${TGT_UPPER}_AVAILABLE)
5+
endforeach()

0 commit comments

Comments
 (0)