add -fno-for-scope to CXXFLAGS on the alpha. Really, this should be
conditional on a gcc >= 2.7.0, but there's no good and easy way to do that short of introducing a new global 'make' variable, which i think is a bad idea.
This commit is contained in:
parent
2357fc71b1
commit
6c9bbdc678
|
@ -1,4 +1,4 @@
|
|||
# $Id: Makefile.cfg,v 1.13 1994/01/24 18:46:07 cgd Exp $
|
||||
# $Id: Makefile.cfg,v 1.14 1995/09/27 13:55:19 cgd Exp $
|
||||
|
||||
.if defined(PROG)
|
||||
LDADD+= -lgnumalloc
|
||||
|
@ -36,6 +36,11 @@ CFLAGS+= -DHAVE_UNISTD_H=1\
|
|||
-DHAVE_MKSTEMP=1\
|
||||
-DHAVE_SYS_SIGLIST=1
|
||||
|
||||
# XXX actually, >= 2.7.0 gcc's; for scoping rules changed.
|
||||
.if (${MACHINE_ARCH} == "alpha")
|
||||
CXXFLAGS+= -fno-for-scope
|
||||
.endif
|
||||
|
||||
.y.cc:
|
||||
$(YACC) $(YFLAGS) $(.IMPSRC)
|
||||
mv y.tab.c $(.PREFIX).cc
|
||||
|
|
Loading…
Reference in New Issue