Skip to content

Commit

Permalink
Merge branch 'master' into wct/deepcopy-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
willtebbutt authored Jan 8, 2025
2 parents b1dcf08 + 75cdffe commit e540cb6
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion deps/csl.mk
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,24 @@ else
$(eval $(call copy_csl,$(call versioned_libname,libgcc_s_seh,1)))
endif
else
ifeq ($(APPLE_ARCH),arm64)
ifeq ($(OS),Darwin)
# On macOS, libgcc_s has soversion 1.1 always on aarch64 and only for GCC 12+
# (-> libgfortran 5) on x86_64
ifeq ($(ARCH),aarch64)
$(eval $(call copy_csl,$(call versioned_libname,libgcc_s,1.1)))
else
ifeq ($(LIBGFORTRAN_VERSION),5)
$(eval $(call copy_csl,$(call versioned_libname,libgcc_s,1.1)))
else
$(eval $(call copy_csl,$(call versioned_libname,libgcc_s,1)))
endif
endif
else
# Other targets just use libgcc_s.1
$(eval $(call copy_csl,$(call versioned_libname,libgcc_s,1)))
endif
endif

# winpthread is only Windows, pthread is only others
ifeq ($(OS),WINNT)
$(eval $(call copy_csl,$(call versioned_libname,libwinpthread,1)))
Expand Down

0 comments on commit e540cb6

Please sign in to comment.