change optimization level

Signed-off-by: r4sas <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2020-08-18 10:18:12 +00:00
parent 1c86a55cce
commit 187af46560
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2

View File

@ -5,14 +5,14 @@ STATIC := no
DEBUG := no
SYG_SRC = sygcpp.cpp
SYGCPP = sygcpp
SYGCPP = build/sygcpp
ifeq ($(DEBUG),yes)
CXXFLAGS := -g -Og
LDFLAGS := -Og
else
CXXFLAGS := -Os
LDFLAGS := -s -Os
CXXFLAGS := -O3
LDFLAGS := -s -O3
endif
CXXFLAGS += -fPIC
@ -37,6 +37,7 @@ all: mk_obj_dir $(SYGCPP)
mk_obj_dir:
@mkdir -p obj/windows
@mkdir -p build
clean:
$(RM) -r obj $(SYGCPP)