]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Adjust .dir-locals.el to make clang always include config.h
authorOndřej Surý <ondrej@sury.org>
Thu, 2 May 2019 08:52:08 +0000 (10:52 +0200)
committerOndřej Surý <ondrej@sury.org>
Thu, 2 May 2019 08:54:37 +0000 (10:54 +0200)
.dir-locals.el

index 4141681953e1d042d6b700725c5cba2955fef4e1..c68180fee7806a9f0d688b32fdb337a3ff134c2c 100644 (file)
 
    (eval setq flycheck-clang-include-path include-directories)
    (eval setq flycheck-cppcheck-include-path include-directories)
+   (eval setq flycheck-clang-args
+        (list
+         "-include"
+         (expand-file-name
+          (concat directory-of-current-dir-locals-file "config.h"))
+         )
+        )
    )
   ))