summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/cc/c++/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/gnu/usr.bin/cc/c++/Makefile b/gnu/usr.bin/cc/c++/Makefile
index f434b34..54e8561 100644
--- a/gnu/usr.bin/cc/c++/Makefile
+++ b/gnu/usr.bin/cc/c++/Makefile
@@ -1,7 +1,5 @@
# $FreeBSD$
-.include <bsd.own.mk>
-
.include "../Makefile.inc"
.include "../Makefile.fe"
@@ -9,13 +7,16 @@
PROG= g++
SRCS+= g++spec.c
-.if ${MK_CLANG_IS_CC} == "no"
-LINKS= ${BINDIR}/g++ ${BINDIR}/c++
-LINKS+= ${BINDIR}/g++ ${BINDIR}/CC
-.endif
NO_MAN=
DPADD= ${LIBCPP} ${LIBIBERTY}
LDADD= ${LIBCPP} ${LIBIBERTY}
+.include <bsd.own.mk>
+
+.if ${MK_CLANG_IS_CC} == "no"
+LINKS= ${BINDIR}/g++ ${BINDIR}/c++
+LINKS+= ${BINDIR}/g++ ${BINDIR}/CC
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud