Source: tcpspy Version: 1.7d-15 Tags: patch upstream User: debian-cr...@lists.debian.org Usertags: ftcbfs
tcpspy fails to cross build from source, because the upstream Makefile hard codes the build architecture compiler gcc. Please consider applying the attached patch to make it substitutable and tcpspy cross buildable. Helmut
--- tcpspy-1.7d.orig/Makefile +++ tcpspy-1.7d/Makefile @@ -22,7 +22,7 @@ all: tcpspy doc tcpspy: log.o rule_lexer.o rule_grammar.o rule.o tcpspy.o - gcc $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) log.o rule_lexer.o rule_grammar.o rule.o tcpspy.o -o tcpspy + $(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) log.o rule_lexer.o rule_grammar.o rule.o tcpspy.o -o tcpspy log.o: log.c