summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2013-11-06 03:36:43 +0000
committergjb <gjb@FreeBSD.org>2013-11-06 03:36:43 +0000
commit4a3ed8452f538fa69f9a283129feb0436d0ede0b (patch)
treea415be336b505ec41747c155ea02757c3e08312a /gnu
parentc72185619b17966282dbea6a614e4b9b3f88f93d (diff)
downloadFreeBSD-src-4a3ed8452f538fa69f9a283129feb0436d0ede0b.zip
FreeBSD-src-4a3ed8452f538fa69f9a283129feb0436d0ede0b.tar.gz
Revert r257691, r257645:
Let amd64/amd64 build again.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libgcc/Makefile13
1 files changed, 0 insertions, 13 deletions
diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile
index 2d62fc3..092e321 100644
--- a/gnu/lib/libgcc/Makefile
+++ b/gnu/lib/libgcc/Makefile
@@ -27,19 +27,6 @@ CFLAGS+= -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED \
-I${GCCDIR}/config -I${GCCDIR} -I. \
-I${.CURDIR}/../../usr.bin/cc/cc_tools
-# Added to quiesce warning around gcc_assert() for an inline macro that uses
-# a static variable. This code has been moved around in gcc, but is still in
-# use in the latest trunk version of the compiler.
-#
-# gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:208:36:
-# warning: static variable 'dwarf_reg_size_table' is used in an inline
-# function with external linkage [-Wstatic-in-inline]
-# gcc_assert (index < (int) sizeof(dwarf_reg_size_table));
-# ^
-.if ${COMPILER_TYPE} == "clang"
-CFLAGS+= -Wno-static-in-inline
-.endif
-
LDFLAGS+= -nodefaultlibs
LDADD+= -lc
OpenPOWER on IntegriCloud