conduit: do not pass link flags to ar (#49263)

This commit is contained in:
Chris White
2025-03-03 18:53:11 -08:00
committed by GitHub
parent aa55b19680
commit 0161b662f7

View File

@@ -424,8 +424,6 @@ def hostconfig(self):
cfg.write(cmake_cache_entry("CMAKE_EXE_LINKER_FLAGS", linkerflags)) cfg.write(cmake_cache_entry("CMAKE_EXE_LINKER_FLAGS", linkerflags))
if spec.satisfies("+shared"): if spec.satisfies("+shared"):
cfg.write(cmake_cache_entry("CMAKE_SHARED_LINKER_FLAGS", linkerflags)) cfg.write(cmake_cache_entry("CMAKE_SHARED_LINKER_FLAGS", linkerflags))
else:
cfg.write(cmake_cache_entry("CMAKE_STATIC_LINKER_FLAGS", linkerflags))
####################### #######################
# BLT # BLT