]> granicus.if.org Git - curl/commitdiff
src/Makefile: make 'tidy' target work for metalink builds
authorDaniel Stenberg <daniel@haxx.se>
Mon, 14 Jan 2019 08:12:12 +0000 (09:12 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 14 Jan 2019 08:12:52 +0000 (09:12 +0100)
src/Makefile.am

index 8fd9dc32dbcd111ce69b4a7f2e3cc38015268217..e265de0ebd8435cbd4e937970a55045e2bce2e11 100644 (file)
@@ -5,7 +5,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
 #
 # This software is licensed as described in the file COPYING, which
 # you should have received as part of this distribution. The terms
@@ -147,4 +147,4 @@ TIDYFLAGS=-checks=-clang-analyzer-security.insecureAPI.strcpy,-clang-analyzer-op
 TIDY:=clang-tidy
 
 tidy:
-       $(TIDY) $(CURL_CFILES) $(TIDYFLAGS) -- $(AM_CPPFLAGS) $(CPPFLAGS) -DHAVE_CONFIG_H
+       $(TIDY) $(CURL_CFILES) $(TIDYFLAGS) -- $(curl_CPPFLAGS) $(CPPFLAGS) -DHAVE_CONFIG_H