Hook gcc 3.4 into the buildworld. Rearrange HOST_CCVER so it becomes the
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 21 Jun 2004 03:48:07 +0000 (03:48 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 21 Jun 2004 03:48:07 +0000 (03:48 +0000)
commit4db2a28cce407f699b23f2aa514509199a755217
treeb2345f1602f28ee4576ce1f3df65631771953b9c
parent09daa9c60880bff63291f48aba7d5d6766947e80
Hook gcc 3.4 into the buildworld.  Rearrange HOST_CCVER so it becomes the
responsibility of the Makefile element that is overriding CCVER.  Get rid
of the obsolete MY_CCVER magic.  Fix improper use of ${.TARGET} in
cc34/cc_tools/Makefile.tools.  Do not try to override _CPUCFLAGS in
bsd.hostprog.mk, which doesn't handle the generic .nx/.no case.  Instead
remove -mtune, -mcpu, and -march options in NXCFLAGS and NXCXXFLAGS.

Work-by: Joerg Sonnenberger <joerg@crater.dragonflybsd.org>
Reviewed-by: Matthew Dillon <dillon@backplane.com>
25 files changed:
Makefile.inc1
gnu/lib/Makefile
gnu/lib/gcc2/Makefile
gnu/lib/gcc3/Makefile
gnu/lib/gcc34/Makefile
gnu/usr.bin/Makefile
gnu/usr.bin/cc/Makefile.inc
gnu/usr.bin/cc/c++/Makefile
gnu/usr.bin/cc/cc/Makefile
gnu/usr.bin/cc/cpp/Makefile
gnu/usr.bin/cc/f77/Makefile
gnu/usr.bin/cc3/Makefile.inc
gnu/usr.bin/cc3/c++/Makefile
gnu/usr.bin/cc3/cc/Makefile
gnu/usr.bin/cc3/cpp/Makefile
gnu/usr.bin/cc3/f77/Makefile
gnu/usr.bin/cc34/Makefile.inc
gnu/usr.bin/cc34/c++/Makefile
gnu/usr.bin/cc34/cc/Makefile
gnu/usr.bin/cc34/cc_tools/Makefile.tools
gnu/usr.bin/cc34/cpp/Makefile
gnu/usr.bin/cc34/f771/Makefile
share/mk/bsd.cpu.mk
share/mk/bsd.hostprog.mk
share/mk/sys.mk