Browse Source

remove optimisations for debug build

Signed-off-by: r4sas <r4sas@i2pmail.org>
master
R4SAS 4 years ago
parent
commit
259a9de034
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 4
      Makefile
  2. 2
      Makefile.mingw

4
Makefile

@ -10,11 +10,11 @@ SYGCPP = sygcpp @@ -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
Makefile.mingw

@ -2,7 +2,7 @@ WINDRES = windres @@ -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…
Cancel
Save