diff options
author | Peter Wang <novalazy@gmail.com> | 2009-11-19 19:13:35 +1100 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-11-19 18:05:22 +0100 |
commit | ddac17343a30976cae82c9f57419c063e1585cc0 (patch) | |
tree | b23cf6d2f9794a4c43d174f0d0e519f7774b211b | |
parent | 3f52f59c1e5ae677ee67969aacb6381f79e42303 (diff) |
Put $(LDFLAGS) after the list of object files.
Some linkers on some systems are particularly picky about the order of
arguments in order to properly linkt. So this fixes failures on some
systems.
-rw-r--r-- | Makefile.local | 2 | ||||
-rw-r--r-- | notmuch-completion.bash | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.local b/Makefile.local index 6bc01a5d..c44d1603 100644 --- a/Makefile.local +++ b/Makefile.local @@ -18,7 +18,7 @@ notmuch_client_srcs = \ notmuch_client_modules = $(notmuch_client_srcs:.c=.o) notmuch: $(notmuch_client_modules) lib/notmuch.a - $(CXX) $(LDFLAGS) $^ -o $@ + $(CXX) $^ $(LDFLAGS) -o $@ notmuch.1.gz: notmuch.1 gzip --stdout notmuch.1 > notmuch.1.gz diff --git a/notmuch-completion.bash b/notmuch-completion.bash index 8665268c..03412117 100644 --- a/notmuch-completion.bash +++ b/notmuch-completion.bash @@ -50,7 +50,7 @@ _notmuch() commands="setup new search show reply tag dump restore help" help_options="setup new search show reply tag dump restore search-terms" - search_options="--max-threads= --first= --sort=" + search_options="--max-threads= --first= --sort=oldest-first --sort=newest-first" COMPREPLY=() |