add a hack so that old- and new-toolchain alphas do the right thing:
include bsd.own.mk early on, and if !alpha or if !ELF_TOOLCHAIN, build c++rt0.o. ELF alphas don't use the 'normal' C++ runtime startup routines. Eventually, there should be better ways to distinguish what toolchain and object format is in use, and the Alpha C++ startup code changes should be merged with that used by the other ports.
This commit is contained in:
parent
c7a4944620
commit
53ded8ebcb
@ -1,5 +1,11 @@
|
||||
# $Id: Makefile,v 1.5 1994/01/10 14:09:16 deraadt Exp $
|
||||
# $Id: Makefile,v 1.6 1996/10/08 00:36:28 cgd Exp $
|
||||
|
||||
SUBDIR= ${MACHINE_ARCH} c++
|
||||
.include <bsd.own.mk> # for ELF_TOOLCHAIN defn on alpha
|
||||
|
||||
SUBDIR= ${MACHINE_ARCH}
|
||||
|
||||
.if (${MACHINE_ARCH} != "alpha" || !defined(ELF_TOOLCHAIN))
|
||||
SUBDIR+= c++
|
||||
.endif
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user