Merge pull request #4328 from martin-frbg/4239-3

Copy XCode15-specific workaround for Apple M to Fortran flags to fix build of tests
This commit is contained in:
Martin Kroeker 2023-11-19 22:06:17 +01:00 committed by GitHub
commit 864c65b526
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
ifeq (x$(XCVER), x 15)
CCOMMON_OPT += -Wl,-ld_classic
FCOMMON_OPT += -Wl,-ld_classic
endif
endif