summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2014-10-09 23:05:31 +0000
committeremaste <emaste@FreeBSD.org>2014-10-09 23:05:31 +0000
commitd00756463cd6ef08e7bad7b7833add551b732ec8 (patch)
tree24320d1eb9858e4c818b711b7d5127b1d1d29a61 /gnu
parent48a659a54cdcaf8e3749cbba0f01eb7b32377635 (diff)
downloadFreeBSD-src-d00756463cd6ef08e7bad7b7833add551b732ec8.zip
FreeBSD-src-d00756463cd6ef08e7bad7b7833add551b732ec8.tar.gz
Build gperf only if we're using g++ (not clang++)
gperf is used as a build tool for g++ and is not needed for Clang architectures. Ports and third-party software that need it can use the up-to-date devel/gperf port. PR: 194103 (exp-run) Reviewed by: bapt Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D886
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile
index 7b1482d..a320191 100644
--- a/gnu/usr.bin/Makefile
+++ b/gnu/usr.bin/Makefile
@@ -18,7 +18,9 @@ SUBDIR= ${_binutils} \
${_texinfo}
.if ${MK_CXX} != "no"
+.if ${MK_GCC} != "no"
_gperf= gperf
+.endif
.if ${MK_GROFF} != "no"
_groff= groff
.endif
OpenPOWER on IntegriCloud