blob: bfa8cb284f403d13421e6fd8fc83be1709bd1178 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# $FreeBSD$
# Front-end-only bits
GCC_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=\"$(GCC_VERSION)\" \
-DDEFAULT_TARGET_MACHINE=\"$(GCC_TARGET)\" \
CFLAGS+= ${DRIVER_DEFINES}
|