diff options
author | Robin Jarry <robin@jarry.cc> | 2022-09-20 11:37:22 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-09-20 11:37:58 +0200 |
commit | fcd75ab52973a914bfa5af8e92617c551b59fc1f (patch) | |
tree | d077bbd1cf4fa6ad5568f1c7dcb83da6449c2934 | |
parent | ddca71bcfd41d6eb2449dc6ec038dbada1985c32 (diff) | |
download | aerc-fcd75ab52973a914bfa5af8e92617c551b59fc1f.tar.gz |
mk: make it obvious that GOFLAGS change cause a rebuild
We had a few issues with that for downstream distros recently.
Signed-off-by: Robin Jarry <robin@jarry.cc>
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -44,6 +44,7 @@ build_cmd:=$(GO) build $(BUILD_OPTS) $(GOFLAGS) -ldflags "$(GO_LDFLAGS)" -o aerc _!=grep -sqFx '$(build_cmd)' .aerc.d || rm -f .aerc.d .aerc.d: + @echo 'GOFLAGS have changed, recompiling' @echo '$(build_cmd)' > $@ aerc: $(GOSRC) .aerc.d |