Add ld_classic also to fortran flags when doing M1 xcode15 builds

This commit is contained in:
Martin Kroeker 2023-11-18 22:59:56 +01:00 committed by GitHub
parent 43e065e8a3
commit 084561b11c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -407,6 +407,7 @@ XCVER = $(shell pkgutil --pkg-info=com.apple.pkg.CLTools_Executables |awk '/vers
endif endif
ifeq (x$(XCVER), x 15) ifeq (x$(XCVER), x 15)
CCOMMON_OPT += -Wl,-ld_classic CCOMMON_OPT += -Wl,-ld_classic
FCOMMON_OPT += -Wl,-ld_classic
endif endif
endif endif