mirror of https://github.com/bitcoin/bitcoin
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
651 B
25 lines
651 B
ifneq ($(shell $(SHELL) $(.SHELLFLAGS) "command -v $(host)-g++-posix"),)
|
|
mingw32_CXX := $(host)-g++-posix
|
|
endif
|
|
|
|
mingw32_CFLAGS=-pipe -std=$(C_STANDARD)
|
|
mingw32_CXXFLAGS=-pipe -std=$(CXX_STANDARD)
|
|
|
|
ifneq ($(LTO),)
|
|
mingw32_AR = $(host_toolchain)gcc-ar
|
|
mingw32_NM = $(host_toolchain)gcc-nm
|
|
mingw32_RANLIB = $(host_toolchain)gcc-ranlib
|
|
endif
|
|
|
|
mingw32_release_CFLAGS=-O2
|
|
mingw32_release_CXXFLAGS=$(mingw32_release_CFLAGS)
|
|
|
|
mingw32_debug_CFLAGS=-O1 -g
|
|
mingw32_debug_CXXFLAGS=$(mingw32_debug_CFLAGS)
|
|
|
|
mingw32_debug_CPPFLAGS=-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC
|
|
|
|
mingw32_cmake_system_name=Windows
|
|
# Windows 7 (NT 6.1).
|
|
mingw32_cmake_system_version=6.1
|