aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 17 insertions, 2 deletions
diff --git a/README.md b/README.md
index 92968767..a30020f5 100644
--- a/README.md
+++ b/README.md
@@ -77,9 +77,24 @@ Then compile aerc:
aerc optionally supports notmuch. To enable it, you need to have a recent
version of [notmuch](https://notmuchmail.org/#index7h2), including the header
-files (notmuch.h). Then compile aerc with the necessary build tags:
+files (notmuch.h). The `notmuch` build tag should be automatically added.
- $ GOFLAGS=-tags=notmuch make
+ $ make
+ GOFLAGS have changed, recompiling
+ go build -trimpath -tags=notmuch -ldflags "-X ...
+ ^^^^^^^^^^^^^
+ ...
+
+If it is not, you can force it before building:
+
+ $ export GOFLAGS=-tags=notmuch
+ $ make
+
+If you have notmuch headers available but do not want to build notmuch support
+in aerc, force GOFLAGS to an empty value:
+
+ $ export GOFLAGS=
+ $ make
To install aerc locally: