Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jun 2011 19:47:31 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r222898 - head/sys/conf
Message-ID:  <201106091947.p59JlVsS092223@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nwhitehorn
Date: Thu Jun  9 19:47:30 2011
New Revision: 222898
URL: http://svn.freebsd.org/changeset/base/222898

Log:
  Add -Wa,-many to CFLAGS on PowerPC. This aids in building a kernel using
  clang, which would otherwise complain about some 64-bit bridge mode
  instructions.

Modified:
  head/sys/conf/Makefile.powerpc

Modified: head/sys/conf/Makefile.powerpc
==============================================================================
--- head/sys/conf/Makefile.powerpc	Thu Jun  9 16:30:13 2011	(r222897)
+++ head/sys/conf/Makefile.powerpc	Thu Jun  9 19:47:30 2011	(r222898)
@@ -35,7 +35,7 @@ LDSCRIPT_NAME?= ldscript.${MACHINE_ARCH}
 
 INCLUDES+= -I$S/contrib/libfdt
 
-CFLAGS+= -msoft-float
+CFLAGS+= -msoft-float -Wa,-many
 
 DDB_ENABLED!=	grep DDB opt_ddb.h || true
 .if !empty(DDB_ENABLED)



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