Browse Source

change optimization level

Signed-off-by: r4sas <r4sas@i2pmail.org>
master
R4SAS 4 years ago
parent
commit
187af46560
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 7
      Makefile

7
Makefile

@ -5,14 +5,14 @@ STATIC := no @@ -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) @@ -37,6 +37,7 @@ all: mk_obj_dir $(SYGCPP)
mk_obj_dir:
@mkdir -p obj/windows
@mkdir -p build
clean:
$(RM) -r obj $(SYGCPP)

Loading…
Cancel
Save