summaryrefslogtreecommitdiff
path: root/Make.config
diff options
context:
space:
mode:
Diffstat (limited to 'Make.config')
-rw-r--r--Make.config4
1 files changed, 2 insertions, 2 deletions
diff --git a/Make.config b/Make.config
index 3d8effd..4e06fc7 100644
--- a/Make.config
+++ b/Make.config
@@ -85,7 +85,7 @@ endif
CFLAGS += -fPIC -Wreturn-type -Wall -Wextra -Wparentheses -Wformat -pedantic \
-Wno-long-long -Wunused-variable -Wunused-label -Wno-unused-result \
- -Wunused-value -Wunused-function -Wno-variadic-macros \
+ -Wunused-value -Wunused-function -Wno-variadic-macros -Wunused-local-typedefs \
-Wno-unused-parameter -Werror=format-security \
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
@@ -94,7 +94,7 @@ CFLAGS += -std=c++11 -D__STDC_FORMAT_MACROS
ifdef USE_CLANG
CFLAGS += -x c++ -Wunused-const-variable
else
- CFLAGS += -Wunused-but-set-variable
+ CXXFLAGS += -Wunused-but-set-variable -Wunused-but-set-parameter
endif
%.o: %.c