Author: ngie
Date: Tue Mar 28 19:01:01 2017
New Revision: 316101
URL: https://svnweb.freebsd.org/changeset/base/316101

Log:
  Apply r315689 to lib/libgcc_s as well to unbreak the gcc xtoolchain build
  
  lib/libgcc_s consumes lib/libcompiler_rt/Makefile*. The NO_WERROR.gcc in
  lib/libcompiler_rt/Makefile doesn't seem to have made a difference in being
  able to build this, so sprinkle NO_WERROR.gcc here as well.
  
  MFC after:    3 days
  Reported by:  Jenkins (FreeBSD-head-amd64-gcc)
  Tested with:  amd64-gcc-6.3.0 (devel/amd64-xtoolchain-gcc)
  Sponsored by: Dell EMC Isilon

Modified:
  head/lib/libgcc_s/Makefile

Modified: head/lib/libgcc_s/Makefile
==============================================================================
--- head/lib/libgcc_s/Makefile  Tue Mar 28 18:09:01 2017        (r316100)
+++ head/lib/libgcc_s/Makefile  Tue Mar 28 19:01:01 2017        (r316101)
@@ -14,6 +14,10 @@ VERSION_MAP= ${.CURDIR}/Version.map
 .include "../libcompiler_rt/Makefile.inc"
 .include "../libgcc_eh/Makefile.inc"
 
+# gcc has incompatible internal declarations for __divtc3 and __multc3, but has
+# no option to silence its warning, so make warnings non-fatal.
+NO_WERROR.gcc=
+
 LIBCSRCDIR=    ${SRCTOP}/lib/libc
 LIBMSRCDIR=    ${SRCTOP}/lib/msun/src
 CFLAGS+=       -I${LIBCSRCDIR}/include -I${LIBCSRCDIR}/${MACHINE_CPUARCH}
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to