mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-25 10:26:37 +02:00
14 lines
357 B
Text
14 lines
357 B
Text
ifeq ($(shell $(CXX) -dumpmachine | cut -c 1-4), i586)
|
|
CXX = g++-x86
|
|
else
|
|
CXX = g++
|
|
endif
|
|
CXXFLAGS := -Wall -std=c++20
|
|
INCFLAGS = -I/system/develop/headers
|
|
DEFINES = -D_DEFAULT_SOURCE -D_GNU_SOURCE
|
|
LDLIBS = -lbe -lbsd -lnetwork -lz -lssl -lcrypto -lboost_program_options -lpthread
|
|
|
|
ifeq ($(USE_UPNP),yes)
|
|
DEFINES += -DUSE_UPNP
|
|
LDLIBS += -lminiupnpc
|
|
endif
|