Skip to content

Commit fdc1c32

Browse files
authored
Merge pull request #5336 from martin-frbg/issue5332
Use response files on old PPC/Intel Macs in single-target builds too
2 parents 12591ca + 5aa483e commit fdc1c32

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
@@ -305,8 +305,8 @@ if (USE_OPENMP)
305305
endif()
306306
endif()
307307

308-
# Fix "Argument list too long" for macOS with Intel CPUs and DYNAMIC_ARCH turned on
309-
if(APPLE AND DYNAMIC_ARCH AND (NOT CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64"))
308+
# Fix "Argument list too long" for macOS with POWERPC or Intel CPUs
309+
if(APPLE AND (NOT CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64"))
310310
# Use response files
311311
set(CMAKE_C_USE_RESPONSE_FILE_FOR_OBJECTS 1)
312312
# Always build static library first

0 commit comments

Comments
 (0)