From owner-svn-src-head@FreeBSD.ORG Fri Feb 27 20:32:51 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4EE425BB; Fri, 27 Feb 2015 20:32:51 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 39F92658; Fri, 27 Feb 2015 20:32:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1RKWpB4087988; Fri, 27 Feb 2015 20:32:51 GMT (envelope-from nwhitehorn@FreeBSD.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1RKWpkk087987; Fri, 27 Feb 2015 20:32:51 GMT (envelope-from nwhitehorn@FreeBSD.org) Message-Id: <201502272032.t1RKWpkk087987@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: nwhitehorn set sender to nwhitehorn@FreeBSD.org using -f From: Nathan Whitehorn Date: Fri, 27 Feb 2015 20:32:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r279372 - head/sys/conf 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.18-1 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: Fri, 27 Feb 2015 20:32:51 -0000 Author: nwhitehorn Date: Fri Feb 27 20:32:50 2015 New Revision: 279372 URL: https://svnweb.freebsd.org/changeset/base/279372 Log: Use appropriate alternative to -msoft-float for clang-built PowerPC kernels. Modified: head/sys/conf/kern.mk Modified: head/sys/conf/kern.mk ============================================================================== --- head/sys/conf/kern.mk Fri Feb 27 20:32:09 2015 (r279371) +++ head/sys/conf/kern.mk Fri Feb 27 20:32:50 2015 (r279372) @@ -131,7 +131,9 @@ INLINE_LIMIT?= 8000 # Also explicitly disable Altivec instructions inside the kernel. # .if ${MACHINE_CPUARCH} == "powerpc" -CFLAGS+= -msoft-float -mno-altivec +CFLAGS+= -mno-altivec +CFLAGS.clang+= -mllvm -disable-ppc-float-in-variadic=true +CFLAGS.gcc+= -msoft-float INLINE_LIMIT?= 15000 .endif @@ -139,7 +141,7 @@ INLINE_LIMIT?= 15000 # Use dot symbols on powerpc64 to make ddb happy # .if ${MACHINE_ARCH} == "powerpc64" -CFLAGS+= -mcall-aixdesc +CFLAGS.gcc+= -mcall-aixdesc .endif #