Add -Wno-unused-parameter
This commit is contained in:
parent
a0629551f7
commit
ab7e3c1d32
4
Makefile
4
Makefile
@ -21,9 +21,9 @@ CXX ?= g++
|
||||
RM := /bin/rm -rf
|
||||
INSTALL := /usr/bin/install -c
|
||||
|
||||
CXXFLAGS += -Wshadow -Wall -Wpedantic -Wextra -std=c++17
|
||||
CXXFLAGS += -Wshadow -Wall -Wpedantic -Wextra -Wno-unused-parameter -g3 -std=c++17
|
||||
ifeq ($(DEBUG),1)
|
||||
CXXFLAGS += -g3 -D DEBUG -O0
|
||||
CXXFLAGS += -D DEBUG -O0
|
||||
CONFIG := debug
|
||||
else
|
||||
CXXFLAGS += -D NDEBUG -O3
|
||||
|
Loading…
x
Reference in New Issue
Block a user