summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc/Makefile.inc
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-11-17 07:42:40 +0000
committerobrien <obrien@FreeBSD.org>1999-11-17 07:42:40 +0000
commit6f0a47ff7073fe245bc6e3e791592593a4ea0523 (patch)
tree89c087cc5755dd88cd16006647e50af63475e486 /gnu/usr.bin/cc/Makefile.inc
parent3374c1fa22f0e86eef405371dc9d10bb3415346d (diff)
downloadFreeBSD-src-6f0a47ff7073fe245bc6e3e791592593a4ea0523.zip
FreeBSD-src-6f0a47ff7073fe245bc6e3e791592593a4ea0523.tar.gz
Allow sub-Makefile's to determine the version of the OS we are make'ing on.
Diffstat (limited to 'gnu/usr.bin/cc/Makefile.inc')
-rw-r--r--gnu/usr.bin/cc/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/Makefile.inc b/gnu/usr.bin/cc/Makefile.inc
index 093b8ff..153872f 100644
--- a/gnu/usr.bin/cc/Makefile.inc
+++ b/gnu/usr.bin/cc/Makefile.inc
@@ -58,4 +58,8 @@ LIBCC_DRV= ${.CURDIR}/../cc_drv/libcc_drv.a
LIBCC_INT= ${LIBDESTDIR}/libcc_int.a
+.if !defined(OSVERSION)
+OSVERSION!= sysctl -n kern.osreldate
+.endif
+
.endif # !GCCDIR
OpenPOWER on IntegriCloud