mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-05-26 20:35:06 +00:00
temporary fix mingw gcc 16 release build by using C++17
This commit is contained in:
+8
-1
@@ -7,7 +7,14 @@ CXXFLAGS := $(CXX_DEBUG) -fPIC -msse
|
||||
INCFLAGS := -I$(DAEMON_SRC_DIR) -IWin32
|
||||
LDFLAGS := ${LD_DEBUG} -static -fPIC -msse
|
||||
|
||||
NEEDED_CXXFLAGS += -std=c++20
|
||||
ifeq ($(DEBUG),yes)
|
||||
NEEDED_CXXFLAGS += -std=c++20
|
||||
else
|
||||
# temporary fix for gcc 16
|
||||
NEEDED_CXXFLAGS += -std=c++17
|
||||
DEFINES += -DWINVER=0x0602 -D_WIN32_WINNT=0x0602
|
||||
endif
|
||||
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
|
||||
# UPNP Support
|
||||
|
||||
Reference in New Issue
Block a user