blob: edc87641627939bb59bf1dfcc84e680ca4e0bc2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Description: disable warnning
../misc/demangle.c: In function 'elf_demangle':
../misc/demangle.c:123:15: error: variable 'i' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
register int i = 0;
Index: libc/usr/src/cmd/sgs/libelf/Makefile.com
===================================================================
--- libc.orig/usr/src/cmd/sgs/libelf/Makefile.com
+++ libc/usr/src/cmd/sgs/libelf/Makefile.com
@@ -70,6 +70,7 @@ LINTFLAGS64 += -u -erroff=E_CAST_INT_TO_
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
+CERRWARN += -_gcc=-Wno-clobbered
BUILD.AR= $(RM) $@ ; \
$(AR) q $@ `$(LORDER) $(OBJECTS:%=$(DIR)/%)| $(TSORT)` ; \
|