1# $FreeBSD: head/gnu/usr.bin/cc/Makefile.fe 132751 2004-07-28 05:27:21Z kan $
| 1# $FreeBSD: head/gnu/usr.bin/cc/Makefile.fe 167471 2007-03-12 00:28:06Z kan $
|
2 3# Front-end-only bits 4
| 2 3# Front-end-only bits 4
|
5version!= sed -n /version_string/p ${GCCDIR}/version.c | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'
| 5GCC_VERSION!= sed -n /version_string/p ${GCCDIR}/version.c | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'
|
6 7# 8# These were previously defined in gcc.c. Just copy previous values from 9# there. We ifdef most of them out for FREEBSD_NATIVE builds anyway. 10# gcc.c won't compile without them though. 11DRIVER_DEFINES = \
| 6 7# 8# These were previously defined in gcc.c. Just copy previous values from 9# there. We ifdef most of them out for FREEBSD_NATIVE builds anyway. 10# gcc.c won't compile without them though. 11DRIVER_DEFINES = \
|
12 -DDEFAULT_TARGET_VERSION=\"$(version)\" \ 13 -DDEFAULT_TARGET_MACHINE=\"$(target)\" \
| 12 -DDEFAULT_TARGET_VERSION=\"$(GCC_VERSION)\" \ 13 -DDEFAULT_TARGET_MACHINE=\"$(GCC_TARGET)\" \
|
14 15CFLAGS+= ${DRIVER_DEFINES}
| 14 15CFLAGS+= ${DRIVER_DEFINES}
|