Remove old alpha addition to CXXFLAGS, and use -fno-rtti and
-fno-exceptions to make the code a lot slimmer.
This commit is contained in:
parent
f3be232686
commit
c6e4b6cf09
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.cfg,v 1.24 1998/04/14 20:30:27 cgd Exp $
|
||||
# $NetBSD: Makefile.cfg,v 1.25 1999/02/09 15:33:45 tv Exp $
|
||||
|
||||
.if defined(PROG)
|
||||
LDADD+= -lgnumalloc
|
||||
@ -36,12 +36,7 @@ CPPFLAGS+= -DHAVE_UNISTD_H=1\
|
||||
-DHAVE_MKSTEMP=1\
|
||||
-DHAVE_SYS_SIGLIST=1
|
||||
|
||||
# XXX NetBSD/Alpha's (cygnus snapshot) g++ doesn't allow virtual functions
|
||||
# which aren't declared inline to be later defined as inline without a
|
||||
# warning (-> error).
|
||||
.if (${MACHINE_ARCH} == "alpha")
|
||||
CXXFLAGS+= -DBROKEN_GXX_VIRTUAL_INLINE
|
||||
.endif
|
||||
CXXFLAGS+= -fno-rtti -fno-exceptions
|
||||
|
||||
# XXX This won't necessarily work if running a parallel make, but does
|
||||
# XXX work here because each subdir builds at most one .cc file from a .y.
|
||||
|
Loading…
Reference in New Issue
Block a user