From owner-svn-src-head@FreeBSD.ORG Tue Apr 16 17:20:52 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 844F8465; Tue, 16 Apr 2013 17:20:52 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 7756BA2B; Tue, 16 Apr 2013 17:20:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r3GHKqxe035451; Tue, 16 Apr 2013 17:20:52 GMT (envelope-from rwatson@svn.freebsd.org) Received: (from rwatson@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r3GHKq9m035450; Tue, 16 Apr 2013 17:20:52 GMT (envelope-from rwatson@svn.freebsd.org) Message-Id: <201304161720.r3GHKq9m035450@svn.freebsd.org> From: Robert Watson Date: Tue, 16 Apr 2013 17:20:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r249554 - head/lib/libstand X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Apr 2013 17:20:52 -0000 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 \