Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2017 06:00:06 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r312614 - head/sys/conf
Message-ID:  <201701220600.v0M606bR049885@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Sun Jan 22 06:00:05 2017
New Revision: 312614
URL: https://svnweb.freebsd.org/changeset/base/312614

Log:
  Don't pass -Wa,-many through clang, the integrated as doesn't support it.
  
  Our base binutils sets -many by default anyway, but external gcc may not do
  this.
  
  PR:	kern/215948
  Submitted by:	Mark Millard <markmi AT dsl-only DOT net>
  Reported by:	Mark Millard
  MFC after:	2 weeks

Modified:
  head/sys/conf/Makefile.powerpc

Modified: head/sys/conf/Makefile.powerpc
==============================================================================
--- head/sys/conf/Makefile.powerpc	Sun Jan 22 05:49:43 2017	(r312613)
+++ head/sys/conf/Makefile.powerpc	Sun Jan 22 06:00:05 2017	(r312614)
@@ -39,7 +39,8 @@ INCLUDES+= -I$S/contrib/libfdt
 # Force __SPE__, since the builtin will be removed later with -mno-spe
 CFLAGS+= -mabi=spe -D__SPE__
 .endif
-CFLAGS+= -msoft-float -Wa,-many
+CFLAGS+= -msoft-float
+CFLAGS.gcc+= -Wa,-many
 
 # Build position-independent kernel
 CFLAGS+= -fPIC



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