diff --git a/science/hdf5/Portfile b/science/hdf5/Portfile index d2af1dbfebe8c..3caf66359fbbb 100644 --- a/science/hdf5/Portfile +++ b/science/hdf5/Portfile @@ -72,16 +72,6 @@ configure.args \ --with-szlib=${prefix}/lib/libaec \ --with-zlib=yes -if { [vercmp ${xcodeversion} >= 15.0] || [vercmp ${xcodecltversion} >= 15.0] } { - # On macOS13 and newer ensure the 'legacy' linker is used as GCC currently has problems - # with the new default linker in Xcode 15. See e.g. - # https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#Linking - # https://discussions.apple.com/thread/255137447 - # https://developer.apple.com/forums/thread/737707 - # https://github.com/Homebrew/homebrew-core/issues/145991 - configure.env LDFLAGS=-ld_classic -} - # Actively checks how to get clang to warn on implicit functions with this. configure.checks.implicit_function_declaration.whitelist-append strchr