mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-28 21:54:10 +01:00
build: move {C,CXX}FLAGS to the end of FINAL_{C,CXX}FLAGS
In addition to avoiding problems with user specified include paths picking up an installed version of notmuch.h, this should also enable users to override more options (in particular they could override warning options since the last one takes effect). [1]: id:7851CAB5-4556-4931-A0A2-37003E56C927@ryandesign.com
This commit is contained in:
parent
911d9a916e
commit
e9c55864cd
1 changed files with 2 additions and 2 deletions
|
@ -50,8 +50,8 @@ DETACHED_SIG_FILE=$(TAR_FILE).asc
|
||||||
PV_FILE=bindings/python/notmuch/version.py
|
PV_FILE=bindings/python/notmuch/version.py
|
||||||
|
|
||||||
# Smash together user's values with our extra values
|
# Smash together user's values with our extra values
|
||||||
FINAL_CFLAGS = -DNOTMUCH_VERSION=$(VERSION) $(CFLAGS) $(WARN_CFLAGS) $(extra_cflags) $(CPPFLAGS) $(CONFIGURE_CFLAGS)
|
FINAL_CFLAGS = -DNOTMUCH_VERSION=$(VERSION) $(WARN_CFLAGS) $(extra_cflags) $(CPPFLAGS) $(CONFIGURE_CFLAGS) $(CFLAGS)
|
||||||
FINAL_CXXFLAGS = $(CXXFLAGS) $(WARN_CXXFLAGS) $(extra_cflags) $(extra_cxxflags) $(CPPFLAGS) $(CONFIGURE_CXXFLAGS)
|
FINAL_CXXFLAGS = $(WARN_CXXFLAGS) $(extra_cflags) $(extra_cxxflags) $(CPPFLAGS) $(CONFIGURE_CXXFLAGS) $(CXXFLAGS)
|
||||||
FINAL_NOTMUCH_LDFLAGS = -Lutil -lnotmuch_util -Llib -lnotmuch $(LDFLAGS)
|
FINAL_NOTMUCH_LDFLAGS = -Lutil -lnotmuch_util -Llib -lnotmuch $(LDFLAGS)
|
||||||
ifeq ($(LIBDIR_IN_LDCONFIG),0)
|
ifeq ($(LIBDIR_IN_LDCONFIG),0)
|
||||||
FINAL_NOTMUCH_LDFLAGS += $(RPATH_LDFLAGS)
|
FINAL_NOTMUCH_LDFLAGS += $(RPATH_LDFLAGS)
|
||||||
|
|
Loading…
Reference in a new issue