diff options
-rw-r--r-- | lang/rust/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile index 2a584a160ab0..5a2aee23f2df 100644 --- a/lang/rust/Makefile +++ b/lang/rust/Makefile @@ -114,7 +114,9 @@ EXTRA_PATCHES+= ${PATCHDIR}/${ARCH}${BOOTSTRAPS_SUFFIX} # anyway... .if exists(${PATCHDIR}/no-hardlinks) _KERN_OSRELDATE!= ${SYSCTL} -n kern.osreldate 2>/dev/null || echo 0 -. if ${_KERN_OSRELDATE} < 1400040 +. if ${_KERN_OSRELDATE} >= 1400040 +. elif ${_KERN_OSRELDATE} >= 1300521 +. else EXTRA_PATCHES+= ${PATCHDIR}/no-hardlinks . endif .endif |