summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc/Makefile.fe
blob: a7057b162baceebb9da113b5663f8155fbcede11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $FreeBSD$

#	Front-end-only bits

version!=	sed -n /version_string/p ${GCCDIR}/version.c | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'

#
# These were previously defined in gcc.c.  Just copy previous values from
# there. We ifdef most of them out for FREEBSD_NATIVE builds anyway.
# gcc.c won't compile without them though.
DRIVER_DEFINES = \
	-DDEFAULT_TARGET_VERSION=\"$(version)\" \
	-DDEFAULT_TARGET_MACHINE=\"$(target)\" \

CFLAGS+= ${DRIVER_DEFINES}
OpenPOWER on IntegriCloud