Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2014 20:11:05 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r273409 - head/share/mk
Message-ID:  <201410212011.s9LKB58Y066441@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Oct 21 20:11:05 2014
New Revision: 273409
URL: https://svnweb.freebsd.org/changeset/base/273409

Log:
  Do not make ld(1) warnings fatal anymore, binutils behaviour has changed over the
  time and gnu.warnings.symbol are now being fatal preventing building world.
  
  in the futur we want to investigate only making the gnu.warning.symbol non fatal
  
  Reviewed by:	imp

Modified:
  head/share/mk/bsd.lib.mk

Modified: head/share/mk/bsd.lib.mk
==============================================================================
--- head/share/mk/bsd.lib.mk	Tue Oct 21 20:07:15 2014	(r273408)
+++ head/share/mk/bsd.lib.mk	Tue Oct 21 20:11:05 2014	(r273409)
@@ -207,7 +207,7 @@ _LIBS+=		${SHLIB_NAME}
 
 SOLINKOPTS=	-shared -Wl,-x
 .if !defined(ALLOW_SHARED_TEXTREL)
-SOLINKOPTS+=	-Wl,--fatal-warnings -Wl,--warn-shared-textrel
+SOLINKOPTS+=	-Wl,--no-fatal-warnings -Wl,--warn-shared-textrel
 .endif
 
 .if target(beforelinking)



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