mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 03:37:49 +02:00
add DEBUG option for make
By default, binary will be built without stripping debug symbols
This commit is contained in:
parent
5233e72205
commit
64aee9c8ae
6 changed files with 24 additions and 16 deletions
8
Makefile
8
Makefile
|
@ -18,6 +18,14 @@ USE_AVX := yes
|
|||
USE_STATIC := no
|
||||
USE_MESHNET := no
|
||||
USE_UPNP := no
|
||||
DEBUG := yes
|
||||
|
||||
ifeq ($(DEBUG),yes)
|
||||
CXX_DEBUG = -g
|
||||
else
|
||||
CXX_DEBUG = -Os
|
||||
LD_DEBUG = -s
|
||||
endif
|
||||
|
||||
ifeq ($(WEBSOCKETS),1)
|
||||
NEEDED_CXXFLAGS += -DWITH_EVENTS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue