]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Fix mkdep invocations.
authorGuy Harris <[email protected]>
Wed, 29 Nov 2017 06:06:37 +0000 (22:06 -0800)
committerGuy Harris <[email protected]>
Wed, 29 Nov 2017 06:06:37 +0000 (22:06 -0800)
CC is not guaranteed to be space-free; quote it.

DEPENDENCY_CFLAG is also not guaranteed to be space-free; quote it.

Makefile.in

index faa2abb914613b581f3d38d60b09bd324b76d5ee..1cdd0237c198e98c1fcefc46efe8e65daf5b3e82 100644 (file)
@@ -449,4 +449,4 @@ testlist:
        echo $(TEST_DIST)
 
 depend: $(GENSRC)
        echo $(TEST_DIST)
 
 depend: $(GENSRC)
-       $(MKDEP) -c $(CC) -m $(DEPENDENCY_CFLAG) $(DEFS) $(INCLS) $(SRC)
+       $(MKDEP) -c "$(CC)" -m "$(DEPENDENCY_CFLAG)" $(DEFS) $(INCLS) $(SRC)