summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-08-27 04:49:43 +0000
committerimp <imp@FreeBSD.org>2003-08-27 04:49:43 +0000
commit55042fc881ab07f81c996ba910f0b32084ddc881 (patch)
tree3fdee8f0704d8fbf6591dbc2920d254beaacfb9b /Makefile.inc1
parent81fff2b66d53838593cf430f71f625fe8a28e610 (diff)
downloadFreeBSD-src-55042fc881ab07f81c996ba910f0b32084ddc881.zip
FreeBSD-src-55042fc881ab07f81c996ba910f0b32084ddc881.tar.gz
OSRELDATE should fallback to 'unknown' rather than the kernel that's
booted on this machine. This is a slightly better default to use. Requested by: ru
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc12
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 0f1264a..7696ba2 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -127,7 +127,7 @@ MAKEOBJDIRPREFIX?= /usr/obj
OSRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \
/usr/include/osreldate.h
.else
-OSRELDATE!= sysctl -n kern.osreldate
+OSRELDATE= 0
.endif
.endif
TARGET_ARCH?= ${MACHINE_ARCH}
OpenPOWER on IntegriCloud