Author: rwatson
Date: Tue Apr 16 17:20:52 2013
New Revision: 249554
URL: http://svnweb.freebsd.org/changeset/base/249554

Log:
  Use a suitable code generation when building libstand for MIPS.
  
  Reviewed by:  imp
  Sponsored by: DARPA, AFRL
  MFC after:    3 days

Modified:
  head/lib/libstand/Makefile

Modified: head/lib/libstand/Makefile
==============================================================================
--- head/lib/libstand/Makefile  Tue Apr 16 17:03:35 2013        (r249553)
+++ head/lib/libstand/Makefile  Tue Apr 16 17:20:52 2013        (r249554)
@@ -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 \
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to