2002-04-06 18:16:27 -05:00
|
|
|
# $FreeBSD$
|
2002-04-06 18:18:01 -05:00
|
|
|
|
|
|
|
|
# Front-end-only bits
|
|
|
|
|
|
2007-03-11 20:28:06 -04:00
|
|
|
GCC_VERSION!= sed -n /version_string/p ${GCCDIR}/version.c | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'
|
2004-07-28 01:27:21 -04:00
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# 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 = \
|
2007-03-11 20:28:06 -04:00
|
|
|
-DDEFAULT_TARGET_VERSION=\"$(GCC_VERSION)\" \
|
|
|
|
|
-DDEFAULT_TARGET_MACHINE=\"$(GCC_TARGET)\" \
|
2004-07-28 01:27:21 -04:00
|
|
|
|
|
|
|
|
CFLAGS+= ${DRIVER_DEFINES}
|