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