configure: use common CPPFLAGS for all objects

This commit is contained in:
Miroslav Lichvar
2016-12-08 11:48:51 +01:00
parent b692cb720c
commit 6aac72fd80
2 changed files with 5 additions and 15 deletions

View File

@@ -63,12 +63,6 @@ chronyd : $(OBJS) $(EXTRA_OBJS)
chronyc : $(CLI_OBJS)
$(CC) $(CFLAGS) -o chronyc $(CLI_OBJS) $(LDFLAGS) $(LIBS) $(EXTRA_CLI_LIBS)
client.o : client.c
$(CC) $(CFLAGS) $(CPPFLAGS) @READLINE_COMPILE@ -c $<
$(HASH_OBJ) : $(patsubst %.o,%.c,$(HASH_OBJ))
$(CC) $(CFLAGS) $(CPPFLAGS) @HASH_COMPILE@ -c $<
distclean : clean
-rm -f .DS_Store
-rm -f Makefile config.h config.log