Move some MIPS specific flags to be more congruent with other
architectures.
This commit is contained in:
parent
77c263c2b4
commit
01c616982b
@ -42,7 +42,7 @@ TRAMPLOADADDR?=0x807963c0
|
|||||||
# We default to the MIPS32 ISA, if none specified in the
|
# We default to the MIPS32 ISA, if none specified in the
|
||||||
# kernel configuration file.
|
# kernel configuration file.
|
||||||
ARCH_FLAGS?=-march=mips32
|
ARCH_FLAGS?=-march=mips32
|
||||||
EXTRA_FLAGS=-fno-pic -mno-abicalls -G0 -DKERNLOADADDR=${KERNLOADADDR}
|
EXTRA_FLAGS=-DKERNLOADADDR=${KERNLOADADDR}
|
||||||
|
|
||||||
HACK_EXTRA_FLAGS=-shared
|
HACK_EXTRA_FLAGS=-shared
|
||||||
|
|
||||||
|
@ -160,6 +160,7 @@ CFLAGS.gcc+= -mcall-aixdesc
|
|||||||
# For MIPS we also tell gcc to use floating point emulation
|
# For MIPS we also tell gcc to use floating point emulation
|
||||||
#
|
#
|
||||||
.if ${MACHINE_CPUARCH} == "mips"
|
.if ${MACHINE_CPUARCH} == "mips"
|
||||||
|
CFLAGS+= -fno-pic -mno-abicalls -G0
|
||||||
CFLAGS+= -msoft-float
|
CFLAGS+= -msoft-float
|
||||||
INLINE_LIMIT?= 8000
|
INLINE_LIMIT?= 8000
|
||||||
.endif
|
.endif
|
||||||
|
@ -130,7 +130,7 @@ CFLAGS+= -mlongcall -fno-omit-frame-pointer
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${MACHINE_CPUARCH} == mips
|
.if ${MACHINE_CPUARCH} == mips
|
||||||
CFLAGS+= -G0 -fno-pic -mno-abicalls -mlong-calls
|
CFLAGS+= -mlong-calls
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(DEBUG) || defined(DEBUG_FLAGS)
|
.if defined(DEBUG) || defined(DEBUG_FLAGS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user