diff options
author | kan <kan@FreeBSD.org> | 2004-07-28 05:27:21 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2004-07-28 05:27:21 +0000 |
commit | 482ec87e2d520becf14d5640e496de11985b1f88 (patch) | |
tree | d38f606f4ee3571f7c56d00ef0cbb35442e1d0d3 /gnu/usr.bin/cc/Makefile.fe | |
parent | 30330da27a0c189d1a6520f06324c22919f0eb0d (diff) | |
download | FreeBSD-src-482ec87e2d520becf14d5640e496de11985b1f88.zip FreeBSD-src-482ec87e2d520becf14d5640e496de11985b1f88.tar.gz |
Bmake glue for GCC 3.4.2-prerelease.
Diffstat (limited to 'gnu/usr.bin/cc/Makefile.fe')
-rw-r--r-- | gnu/usr.bin/cc/Makefile.fe | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/Makefile.fe b/gnu/usr.bin/cc/Makefile.fe index c4a02f8..a7057b1 100644 --- a/gnu/usr.bin/cc/Makefile.fe +++ b/gnu/usr.bin/cc/Makefile.fe @@ -3,3 +3,13 @@ # 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} |