mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-03 07:04:53 +00:00
Bootstrap crunchgen after removing -dc from linker invocation
Inec81497cc7
crunchgen was updated to remove -dc from the linker invocations in its generated makefile output, as this flag is no longer necessary, and is going to be an error with lld 15. Update the BOOTSTRAPPING conditions for copying the crunchgen binary from the host, or actually bootstrapping it when necessary. Sinceec81497cc7
did not bump __FreeBSD_version, I have chosen the nearest values. Fixes:ec81497cc7
MFC after: 3 days (cherry picked from commit93f5ab129a
)
This commit is contained in:
parent
10f770d03e
commit
b9ba9906b8
|
@ -2300,9 +2300,10 @@ _crunchide= usr.sbin/crunch/crunchide
|
|||
_bootstrap_tools_links+=crunchide
|
||||
.endif
|
||||
|
||||
# 1300115: Higher WARNS fixes
|
||||
.if ${BOOTSTRAPPING} < 1202502 || \
|
||||
(${BOOTSTRAPPING} > 1300000 && ${BOOTSTRAPPING} < 1300131)
|
||||
# 1400052, 1300526, 1203507: Removed -dc from linker invocation
|
||||
.if ${BOOTSTRAPPING} < 1203507 || \
|
||||
(${BOOTSTRAPPING} > 1300000 && ${BOOTSTRAPPING} < 1300526) || \
|
||||
(${BOOTSTRAPPING} > 1400000 && ${BOOTSTRAPPING} < 1400052)
|
||||
_crunchgen= usr.sbin/crunch/crunchgen
|
||||
.else
|
||||
_bootstrap_tools_links+=crunchgen
|
||||
|
|
Loading…
Reference in a new issue