diff options
author | rwatson <rwatson@FreeBSD.org> | 2013-04-16 17:20:52 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2013-04-16 17:20:52 +0000 |
commit | 8bcd0583fd9d497c50cd53cbb24508521e630b2d (patch) | |
tree | 094e5e19ca0a0d2057ded52e3138896ef920dcf3 /lib/libstand | |
parent | aa1e549808db532444fe2623a7ec23496dcd5e21 (diff) | |
download | FreeBSD-src-8bcd0583fd9d497c50cd53cbb24508521e630b2d.zip FreeBSD-src-8bcd0583fd9d497c50cd53cbb24508521e630b2d.tar.gz |
Use a suitable code generation when building libstand for MIPS.
Reviewed by: imp
Sponsored by: DARPA, AFRL
MFC after: 3 days
Diffstat (limited to 'lib/libstand')
-rw-r--r-- | lib/libstand/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile index 2886e92..4241933 100644 --- a/lib/libstand/Makefile +++ b/lib/libstand/Makefile @@ -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 \ |