mirror of
https://github.com/pmret/gcc-papermario.git
synced 2024-11-13 22:23:59 +01:00
17 lines
671 B
Plaintext
17 lines
671 B
Plaintext
|
# need this when using cc
|
||
|
ALLOCA = alloca.o
|
||
|
# avoid lossage assembling alloca.
|
||
|
ALLOCA_FLAGS=-S
|
||
|
ALLOCA_FINISH = $(AS) -o alloca.o alloca.s
|
||
|
# be sure not to confuse ./as with /bin/as
|
||
|
AS=`if [ x$(OLDCC) = x$(CC) ] ; then echo /bin/as; else echo $(GAS); fi`
|
||
|
GAS = gas
|
||
|
#
|
||
|
# as of gcc-2.2.1 gcc -g produces too many .stabd's for /bin/ld
|
||
|
# to link cc1plus, so use -g with /bin/cc, but -O with gcc
|
||
|
CFLAGS=`if [ x$(OLDCC) = x$(CC) ] ; then echo -g; else echo -O; fi`
|
||
|
#
|
||
|
CLIB=-lmalloc -lld -lm
|
||
|
# tell CC whether we are a 200 or 300
|
||
|
X_CFLAGS=-D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BULL_SOURCE -D__DPX2__ `if [ -d /makesys/kernel/cf/ncl_mr ]; then echo -Dncl_mr=1; else echo -Dncl_el; fi`
|