mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-07 20:05:07 -05:00
test: disable object dependencies in main makefile
When the main makefile is used to get the list of chronyd objects in order to build the unit tests, clang started (with the -MM option) to generate the dependency files prints error messages about wrong inclusions. Set a NODEPS variable to completely disable the generation of the files.
This commit is contained in:
@@ -134,4 +134,6 @@ Makefile : Makefile.in configure
|
||||
.deps/%.d: %.c | .deps
|
||||
@$(CC) -MM $(CPPFLAGS) -MT '$(<:%.c=%.o) $@' $< -o $@
|
||||
|
||||
ifndef NODEPS
|
||||
-include $(ALL_OBJS:%.o=.deps/%.d)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user