mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-11-04 14:47:41 +00:00
temporary fix mingw gcc 16 release build by using C++17
This commit is contained in:
1 parent
3d90baa173
commit
1ff9e30d06
1 file changed
+8
-1
+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