summaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2003-08-27 04:49:43 +0000
committerWarner Losh <imp@FreeBSD.org>2003-08-27 04:49:43 +0000
commitc3754771d8bce243248046ca2b9bf0c80473ccef (patch)
tree3fdee8f0704d8fbf6591dbc2920d254beaacfb9b /Makefile.inc1
parenta1e145b47db4c93945d15759bce1a42c3cd1b285 (diff)
downloadsrc-test2-c3754771d8bce243248046ca2b9bf0c80473ccef.tar.gz
src-test2-c3754771d8bce243248046ca2b9bf0c80473ccef.zip
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
Notes
Notes: svn path=/head/; revision=119496
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 0f1264a2c327..7696ba2ec862 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}