remove optimisations for debug build
Signed-off-by: r4sas <r4sas@i2pmail.org>
This commit is contained in:
parent
93b6c6d85c
commit
259a9de034
4
Makefile
4
Makefile
@ -10,11 +10,11 @@ SYGCPP = sygcpp
|
||||
ifeq ($(DEBUG),yes)
|
||||
CXX_DEBUG = -g
|
||||
else
|
||||
LD_DEBUG = -s
|
||||
LD_DEBUG = -s -Os
|
||||
endif
|
||||
|
||||
CXXFLAGS = $(CXX_DEBUG) -fPIC
|
||||
LDFLAGS = $(LD_DEBUG) -Os
|
||||
LDFLAGS = $(LD_DEBUG)
|
||||
|
||||
SYG_OBJS = $(patsubst %.cpp,obj/%.o,$(SYG_SRC))
|
||||
|
||||
|
@ -2,7 +2,7 @@ WINDRES = windres
|
||||
|
||||
SYG_RC = windows/resource.rc
|
||||
|
||||
LDFLAGS = $(LD_DEBUG) -Os -Wl,-Bstatic
|
||||
LDFLAGS += -Wl,-Bstatic
|
||||
LDLIBS = -static-libgcc -lcrypto -lws2_32 -lpthread
|
||||
|
||||
SYG_OBJS += $(patsubst %.rc,obj/%.o,$(SYG_RC))
|
||||
|
Loading…
x
Reference in New Issue
Block a user