From df63a10b9cbc312f66800da0998b96f024bb3ea3 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 13 Jul 2017 19:33:52 +0200 Subject: [PATCH] build: Fix cc command which creates dependencies, The command to create Makefile.deps was hardcoded as gcc in Makefile. This patch changes the command to $(CC) and adds the usual set of flags which we use for compiling. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7d3bd42..d27b9cd 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ DSS_CFLAGS += -Wbad-function-cast DSS_CFLAGS += -Wshadow Makefile.deps: $(wildcard *.c *.h) - gcc -MM -MG *.c > $@ + $(CC) -MM -MG $(DSS_CFLAGS) $(CFLAGS) *.c > $@ -include Makefile.deps -- 2.39.5