From e91a7e08cf5fa61cd7d6f077ad8a21a0ff7429d9 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Wed, 17 Nov 1999 07:42:40 +0000 Subject: [PATCH] Allow sub-Makefile's to determine the version of the OS we are make'ing on. --- gnu/usr.bin/cc/Makefile.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/usr.bin/cc/Makefile.inc b/gnu/usr.bin/cc/Makefile.inc index 093b8ff7fcf..153872f521e 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