diff options
Diffstat (limited to 'sys/boot/Makefile.inc')
-rw-r--r-- | sys/boot/Makefile.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/boot/Makefile.inc b/sys/boot/Makefile.inc index 3545446..5d1d51a 100644 --- a/sys/boot/Makefile.inc +++ b/sys/boot/Makefile.inc @@ -1,3 +1,10 @@ # $FreeBSD$ SSP_CFLAGS= + +# The boot loader build uses dd status=none, where possible, for reproducible +# build output (since performance varies from run to run). Trouble is that +# option was recently (10.3) added to FreeBSD and is non-standard. Only use it +# when this test succeeds rather than require dd to be a bootstrap tool. +DD_NOSTATUS!=(dd status=none count=0 2> /dev/null && echo status=none) || true +DD=dd ${DD_NOSTATUS} |