summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2004-05-18 18:05:19 +0000
committerpeter <peter@FreeBSD.org>2004-05-18 18:05:19 +0000
commit1704e84abaedb4374c1b50dba87d22f85eae39f1 (patch)
treea2cd05a1f6e562c0aa667d9db21a3bad656f215e /usr.bin
parent569bfe2ef081e9c509b0d6ec3c530ac17fede525 (diff)
downloadFreeBSD-src-1704e84abaedb4374c1b50dba87d22f85eae39f1.zip
FreeBSD-src-1704e84abaedb4374c1b50dba87d22f85eae39f1.tar.gz
Build/install gprof on amd64 as well, after repocopying the MD bits.
Not that it has anything to process yet, but that comes next.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/Makefile2
-rw-r--r--usr.bin/gprof/gprof.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index 8b9540d..5d16506 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -252,7 +252,7 @@ _vacation= vacation
.if !defined(NO_TOOLCHAIN)
_c89= c89
_c99= c99
-.if ${MACHINE_ARCH} != "amd64" && ${MACHINE_ARCH} != "powerpc"
+.if ${MACHINE_ARCH} != "powerpc"
_gprof= gprof
.endif
_lex= lex
diff --git a/usr.bin/gprof/gprof.h b/usr.bin/gprof/gprof.h
index 3dc3b11..fc0630b 100644
--- a/usr.bin/gprof/gprof.h
+++ b/usr.bin/gprof/gprof.h
@@ -44,6 +44,9 @@
#if __alpha__
# include "alpha.h"
#endif
+#if __amd64__
+# include "amd64.h"
+#endif
#if __arm__
# include "arm.h"
#endif
OpenPOWER on IntegriCloud