diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2001-09-05 16:54:20 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-09-05 16:54:20 +0000 |
commit | 1b5546b8736b0f637439db5dbfa85b07030da358 (patch) | |
tree | 3e6aa81e060ea60dceaa95b17de72cdd2d261d61 /usr.sbin/amd/Makefile.inc | |
parent | 506a5308bcfc3bf31314914a6889ba2611d11673 (diff) | |
download | src-1b5546b8736b0f637439db5dbfa85b07030da358.tar.gz src-1b5546b8736b0f637439db5dbfa85b07030da358.zip |
Try to determine the OS version and architecture for what is being built
vs. the building machine.
PR: 14040
Notes
Notes:
svn path=/head/; revision=83090
Diffstat (limited to 'usr.sbin/amd/Makefile.inc')
-rw-r--r-- | usr.sbin/amd/Makefile.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/amd/Makefile.inc b/usr.sbin/amd/Makefile.inc index 186b5085c24c..3ded149cc0c9 100644 --- a/usr.sbin/amd/Makefile.inc +++ b/usr.sbin/amd/Makefile.inc @@ -18,6 +18,9 @@ CFLAGS+= -I${.CURDIR}/../../../contrib/amd/include CFLAGS+= -I${.CURDIR}/../../../contrib/amd CFLAGS+= -DHAVE_CONFIG_H +TARGET_ARCH?= ${MACHINE_ARCH} +CFLAGS+= -DHOST_CPU=\"${TARGET_ARCH}\" -DHOST_ARCH=\"${TARGET_ARCH}\" + .if exists(${.OBJDIR}/../libamu) LIBAMUDIR= ${.OBJDIR}/../libamu .else |