Enable optimisations
This commit is contained in:
parent
bf95986e06
commit
a018a9eeef
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -6,7 +6,7 @@ ODIR_SHARED=obj_so
|
||||||
NAME = libztd
|
NAME = libztd
|
||||||
|
|
||||||
CC=g++
|
CC=g++
|
||||||
CXXFLAGS= -I$(IDIR) -Wall -pedantic -std=c++17
|
CXXFLAGS= -I$(IDIR) -Wall -pedantic -std=c++17 -O2
|
||||||
ifeq ($(DEBUG),true)
|
ifeq ($(DEBUG),true)
|
||||||
CXXFLAGS += -g
|
CXXFLAGS += -g
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue