summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc/c++
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-03-13 09:12:36 +0000
committerobrien <obrien@FreeBSD.org>2000-03-13 09:12:36 +0000
commite0445c96966bfa55a06ae5ded3df75bbe7403cb2 (patch)
tree3f681872a84e43a54dda69a486b7e59f17eeba3e /gnu/usr.bin/cc/c++
parent7f6dd9f5edb930d5cca8f95c746e712931181d7d (diff)
downloadFreeBSD-src-e0445c96966bfa55a06ae5ded3df75bbe7403cb2.zip
FreeBSD-src-e0445c96966bfa55a06ae5ded3df75bbe7403cb2.tar.gz
Move some cflag contents down to where they are acutally used.
Diffstat (limited to 'gnu/usr.bin/cc/c++')
-rw-r--r--gnu/usr.bin/cc/c++/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/c++/Makefile b/gnu/usr.bin/cc/c++/Makefile
index 4c25003..d5a37ea 100644
--- a/gnu/usr.bin/cc/c++/Makefile
+++ b/gnu/usr.bin/cc/c++/Makefile
@@ -10,6 +10,9 @@ LINKS= ${BINDIR}/c++ ${BINDIR}/g++
LINKS+= ${BINDIR}/c++ ${BINDIR}/CC
NOMAN= 1
+CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
+CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
+
DPADD+= ${LIBCC_INT} ${LIBCC_FBSD}
LDADD+= ${LIBCC_INT} ${LIBCC_FBSD}
OpenPOWER on IntegriCloud