mirror of
https://github.com/pmret/gcc-papermario.git
synced 2024-11-08 20:02:47 +01:00
28 lines
816 B
Plaintext
28 lines
816 B
Plaintext
# 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).
|
|
|
|
BUILD =
|
|
CC = $(OLDCC)
|
|
CLIB = -lld
|
|
X_CFLAGS = $(DEB_OPT) $(MSTATS) $(X_DEFINES)
|
|
X_CFLAGS_NODEBUG = $(NO_DEBUG) $(MSTATS) $(OPT) $(PROFILE) $(X_DEFINES) $(XCFLAGS)
|
|
XCFLAGS = $(SHLIB)
|
|
CPP_ABORT = # -Dabort=fancy_abort
|
|
CPPFLAGS = $(CPP_ABORT) $(SYSTEM_INCLUDES)
|
|
DEB_OPT = $(OPT) $(DEBUG) $(PROFILE)
|
|
DEBUG =
|
|
DEBUG_COLLECT = # -DDEBUG
|
|
CCLIBFLAGS = -O -DNO_HALF_PIC
|
|
GCC_CFLAGS = $(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(CFLAGS) -B./ -DPOSIX -DNO_HALF_PIC
|
|
LDFLAGS =
|
|
MSTATS = # -mstats
|
|
OLDCC = /usr/ccs/gcc/gcc
|
|
OPT = -O
|
|
PROFILE =
|
|
SHLIB = -pic-none
|
|
SYSTEM_INCLUDES = # -I${BUILD}/usr/include
|
|
X_DEFINES = -Dvfork=fork
|