Signed-off-by: r4sas <r4sas@i2pmail.org>
@ -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))