Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2013 17:20:52 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r249554 - head/lib/libstand
Message-ID:  <201304161720.r3GHKq9m035450@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304161720.r3GHKq9m035450>