Skip to content

Commit e04df19

Browse files
authored
Use linker response files on all Apple hardware
1 parent 01cc6df commit e04df19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ if (USE_OPENMP)
308308
endif()
309309
endif()
310310

311-
# Fix "Argument list too long" for macOS with POWERPC or Intel CPUs
312-
if(APPLE AND (NOT CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64"))
311+
# Fix "Argument list too long" for macOS - mostly seen with older OS versions on POWERPC or Intel CPUs
312+
if(APPLE)
313313
# Use response files
314314
set(CMAKE_C_USE_RESPONSE_FILE_FOR_OBJECTS 1)
315315
# Always build static library first

0 commit comments

Comments
 (0)