diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2017-03-28 19:01:01 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2017-03-28 19:01:01 +0000 |
commit | b0a39ef04d268e729c7f20a80bc8dd6b41cb7261 (patch) | |
tree | 15342231bae44dd6ead9dd7f7dde70b844fa0eb4 /lib | |
parent | df4fcca522d14d201e5538602f93b9109394ae3a (diff) | |
download | src-b0a39ef04d268e729c7f20a80bc8dd6b41cb7261.tar.gz src-b0a39ef04d268e729c7f20a80bc8dd6b41cb7261.zip |
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
Notes
Notes:
svn path=/head/; revision=316101
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libgcc_s/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libgcc_s/Makefile b/lib/libgcc_s/Makefile index 78b6515996fb..62be480231d1 100644 --- a/lib/libgcc_s/Makefile +++ b/lib/libgcc_s/Makefile @@ -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} |