summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-04-15 06:51:04 +0000
committerru <ru@FreeBSD.org>2003-04-15 06:51:04 +0000
commitafb5bd3a4b7cbc27a86e46d7049f3ff7080abdb0 (patch)
treea629bcc184646515d34be789ae1fc7e19ae00e6b
parent261178d14f232fd1e66908a6c6e97c3a4cd36adc (diff)
downloadFreeBSD-src-afb5bd3a4b7cbc27a86e46d7049f3ff7080abdb0.zip
FreeBSD-src-afb5bd3a4b7cbc27a86e46d7049f3ff7080abdb0.tar.gz
A version of <sys/endian.h> in RELENG_4 doesn't have 64-bit functions.
Spotted by: simokawa
-rw-r--r--tools/build/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build/Makefile b/tools/build/Makefile
index 4bf2934..fee9e40 100644
--- a/tools/build/Makefile
+++ b/tools/build/Makefile
@@ -10,7 +10,7 @@ INCS=
BOOTSTRAPPING?= 0
# Some tools need <sys/endian.h>.
-.if !exists(/usr/include/sys/endian.h)
+.if !exists(/usr/include/sys/endian.h) || ${BOOTSTRAPPING} < 500000
INCSGROUPS+= SYSHDRS
SYSHDRS= endian.h
SYSHDRSDIR= ${INCLUDEDIR}/sys
OpenPOWER on IntegriCloud