Fix libgcc build with gcc after r257645, by using -Wno-static-in-inline

for clang only.
This commit is contained in:
Dimitry Andric 2013-11-05 07:37:35 +00:00
parent 9a6356bc31
commit 03924ad123

View File

@ -36,7 +36,9 @@ CFLAGS+= -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED \
# 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