change optimization level
Signed-off-by: r4sas <r4sas@i2pmail.org>
This commit is contained in:
parent
1c86a55cce
commit
187af46560
7
Makefile
7
Makefile
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user