Browse files

MFC r256921:

  Thou shalt not leak build host state into the system being compiled.

Approved by:	re (gjb)
  • Loading branch information...
1 parent 287864b commit 3f78c32610ee2416873e312c436f7460914a4935 @cperciva cperciva committed Oct 22, 2013
Showing with 5 additions and 2 deletions.
  1. +5 −2 Makefile.inc1
@@ -128,8 +128,11 @@ OSRELDATE= 0
.if !defined(VERSION)
-VERSION!= uname -srp
+REVISION!= make -C ${.CURDIR}/release -V REVISION
+BRANCH!= make -C ${.CURDIR}/release -V BRANCH
+SRCRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \
+ ${.CURDIR}/sys/sys/param.h
KNOWN_ARCHES?= amd64 arm armeb/arm armv6/arm i386 i386/pc98 ia64 mips mipsel/mips mips64el/mips mips64/mips mipsn32el/mips mipsn32/mips powerpc powerpc64/powerpc sparc64

0 comments on commit 3f78c32

Please sign in to comment.