]> git.notmuchmail.org Git - notmuch/commit
build: move CPPFLAGS after source directory includes.
authorDavid Bremner <david@tethera.net>
Fri, 24 Dec 2021 18:29:04 +0000 (14:29 -0400)
committerDavid Bremner <david@tethera.net>
Fri, 31 Dec 2021 11:07:55 +0000 (07:07 -0400)
commit911d9a916e4dc2de7348d138aabd0ebe51242efd
tree6aa193e1e2939a1cd6afbfc2745f3961b1f3ae87
parent2494e61b9ee6bbab4ac017136d7c6ee0de19b26d
build: move CPPFLAGS after source directory includes.

In [1] Ryan Schmidt reported a problem on macports [2] with notmuch
finding an existing installed version of notmuch.h during the build.

This is a partial fix; the user might also specify -I in CFLAGS.

[1]: id:7851CAB5-4556-4931-A0A2-37003E56C927@ryandesign.com

[2]: The problem does not arise when notmuch.h is installed into a
"system" include path that the compiler searches by default.
Makefile.global