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

Loading…
Cancel
Save