aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/x-sysv
blob: 2c173b159a56034c6160adcab97e014e13c73c56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Define CC and OLDCC as the same, so that the tests:
#	if [ x"$(OLDCC)" = x"$(CC)" ] ...
#
# will succeed (if OLDCC != CC, it is assumed that GCC is
# being used in secondary stage builds).  We need to pass
# the -Wf,-XNg1500 option so the compiler can compile the
# G++ file cp-parse.c.  Otherwise it complains about
# too many case statements.  -Olimit is so the user
# can use -O2.  Down with fixed size tables!

CC		= $(OLDCC)
OPT		= -O1
OLDCC		= cc -Wf,-XNg1500,-XNh2000 -Olimit 3000 $(OPT)

# The bison output files are machine-indep,
# so different flags for a particular machine are not useful.
#BISONFLAGS	= -l

# This enables collect2 to link.
# Some systems use version 2.11 of the compilers.  Some use version 3.11.
CLIB= -L/usr/lib/cmplrs/cc2.11 -L/usr/lib/cmplrs/cc3.11 -lmld

# Show we need to use the C version of ALLOCA
# The SVR3 configurations have it, but the SVR4 configurations don't.
# For now, just try using it for all SVR* configurations.
ALLOCA		= alloca.o