1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-02 08:42:48 +00:00

Use a suitable code generation when building libstand for MIPS.

Reviewed by:	imp
Sponsored by:	DARPA, AFRL
MFC after:	3 days
This commit is contained in:
Robert Watson 2013-04-16 17:20:52 +00:00
parent 909735d975
commit a49ab93ce2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249554

View File

@ -36,6 +36,9 @@ CFLAGS+= -m32 -I.
.if ${MACHINE_CPUARCH} == "arm"
CFLAGS+= -msoft-float -D_STANDALONE
.endif
.if ${MACHINE_CPUARCH} == "mips"
CFLAGS+= -G0 -fno-pic -mno-abicalls
.endif
# standalone components and stuff we have modified locally
SRCS+= gzguts.h zutil.h __main.c assert.c bcd.c bswap.c environment.c getopt.c gets.c \