Skip to content

Commit a26c1b7

Browse files
Ross BayerRostepher
authored andcommitted
Changed the external project build for libdispatch in tools/SourceKit to use the just-build clang and clang++ rather than the system versions (rdar://45148295).
1 parent aa118a7 commit a26c1b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/SourceKit/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ if(NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
107107
CMAKE_ARGS
108108
-DCMAKE_AR=${CMAKE_AR}
109109
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
110-
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
110+
-DCMAKE_C_COMPILER=${PATH_TO_CLANG_BUILD}/bin/clang
111111
-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}
112-
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
112+
-DCMAKE_CXX_COMPILER=${PATH_TO_CLANG_BUILD}/bin/clang++
113113
-DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS}
114114
-DCMAKE_MAKE_PROGRAM=${CMAKE_MAKE_PROGRAM}
115115
-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>

0 commit comments

Comments
 (0)