mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
Drop unused variable.
I didn't end up adding any of the warnings options that aren't allowed for C++, (such as -Wold-style-definition, -Wnested-externs, -Werror-implicit-function-declaration, -Wstrict-prototypes, -Wmissing-prototypes, or -Wbad-function-cast). So for now we can drop the separate C and C++ variables for warnings.
This commit is contained in:
parent
3bd4a2eaaa
commit
445234ac1f
1 changed files with 3 additions and 5 deletions
8
Makefile
8
Makefile
|
@ -1,14 +1,12 @@
|
|||
PROGS=notmuch
|
||||
|
||||
CXXWARNINGS_FLAGS=-Wall -Wextra -Wmissing-declarations -Wwrite-strings \
|
||||
-Wswitch-enum
|
||||
CWARNINGS_FLAGS=$(CXXWARNINGS_FLAGS)
|
||||
WARN_FLAGS=-Wall -Wextra -Wmissing-declarations -Wwrite-strings -Wswitch-enum
|
||||
|
||||
CDEPENDS_FLAGS=`pkg-config --cflags glib-2.0 talloc`
|
||||
CXXDEPENDS_FLAGS=`pkg-config --cflags glib-2.0 talloc` `xapian-config --cxxflags`
|
||||
|
||||
MYCFLAGS=$(CWARNINGS_FLAGS) -O0 -g $(CDEPENDS_FLAGS)
|
||||
MYCXXFLAGS=$(CXXWARNINGS_FLAGS) -O0 -g $(CXXDEPENDS_FLAGS)
|
||||
MYCFLAGS=$(WARN_FLAGS) -O0 -g $(CDEPENDS_FLAGS)
|
||||
MYCXXFLAGS=$(WARN_FLAGS) -O0 -g $(CXXDEPENDS_FLAGS)
|
||||
|
||||
MYLDFLAGS=`pkg-config --libs glib-2.0 talloc` `xapian-config --libs`
|
||||
|
||||
|
|
Loading…
Reference in a new issue