File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ function(llvm_ExternalProject_Add name source_dir)
261
261
set (sysroot_arg -DCMAKE_SYSROOT=${CMAKE_SYSROOT} )
262
262
endif ()
263
263
264
- if (CMAKE_CROSSCOMPILING OR _cmake_system_name STREQUAL AIX )
264
+ if (CMAKE_CROSSCOMPILING )
265
265
set (compiler_args -DCMAKE_ASM_COMPILER=${CMAKE_ASM_COMPILER}
266
266
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
267
267
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
@@ -273,8 +273,6 @@ function(llvm_ExternalProject_Add name source_dir)
273
273
-DCMAKE_OBJDUMP=${CMAKE_OBJDUMP}
274
274
-DCMAKE_STRIP=${CMAKE_STRIP}
275
275
-DCMAKE_READELF=${CMAKE_READELF} )
276
- endif ()
277
- if (CMAKE_CROSSCOMPILING )
278
276
set (llvm_config_path ${LLVM_CONFIG_PATH} )
279
277
280
278
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
You can’t perform that action at this time.
0 commit comments