From: unknown author Date: Thu, 11 Jun 2015 15:35:31 +0200 Subject: [PATCH] cpp-crossbuild Patch from: NIIBE Yutaka Cross-building logrotate with dpkg-cross, I encountered a problem. dpkg-cross sets CPP variable, and compilation failures, because the executable 'cpp' does not accept multiple input files. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5a42fb6b6a31..76f483a68fa0 100644 --- a/Makefile +++ b/Makefile @@ -130,7 +130,7 @@ clean: rm -f ./test/test.ACL ./test/test.SELINUX ./test/error.log depend: - $(CPP) $(CFLAGS) -M $(SOURCES) > .depend + $(CC) -E $(CFLAGS) -M $(SOURCES) > .depend # pretest create the file ./test/test.ACL with # 0 or 1 according to the WITH_ACL=yes presence.