From: Francois-Xavier Le Bail Date: Sat, 22 Jan 2022 13:31:38 +0000 (+0100) Subject: Makefile.in: Ignore build errors with nm command in Solaris X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/49c0110e96f82fd7ab0c39aa406ba264c1f652d8 Makefile.in: Ignore build errors with nm command in Solaris The default output format is different and the grep don't find anything. To be fixed later. --- diff --git a/Makefile.in b/Makefile.in index e93ee2d0..bad0b6f5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -389,13 +389,13 @@ all: $(PROG) $(PROG): $(OBJ) @V_PCAPDEP@ $(LIBNETDISSECT) @rm -f $@ $(CC) $(FULL_CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBNETDISSECT) $(LIBS) - nm $(PROG) | grep ' [tT] ' > $(PROG)_instrument_functions.nm + nm $(PROG) | grep ' [tT] ' > $(PROG)_instrument_functions.nm || : instrument_all: $(PROG) - nm $(PROG) | grep ' [tT] ' > $(PROG)_instrument_functions.nm + nm $(PROG) | grep ' [tT] ' > $(PROG)_instrument_functions.nm || : instrument_global: $(PROG) - nm $(PROG) | grep ' [T] ' > $(PROG)_instrument_functions.nm + nm $(PROG) | grep ' [T] ' > $(PROG)_instrument_functions.nm || : $(LIBNETDISSECT): $(LIBNETDISSECT_OBJ) @rm -f $@