2024-10-01 19:04:24 +02:00
|
|
|
ifneq ($(shell $(SHELL) $(.SHELLFLAGS) "command -v $(host)-gcc-posix"),)
|
|
|
|
mingw32_CC := $(host)-gcc-posix
|
|
|
|
endif
|
2022-01-25 16:35:24 +01:00
|
|
|
ifneq ($(shell $(SHELL) $(.SHELLFLAGS) "command -v $(host)-g++-posix"),)
|
2021-05-28 08:28:14 +02:00
|
|
|
mingw32_CXX := $(host)-g++-posix
|
|
|
|
endif
|
|
|
|
|
2021-08-31 07:34:43 +02:00
|
|
|
mingw32_CFLAGS=-pipe -std=$(C_STANDARD)
|
2021-09-09 08:21:01 +02:00
|
|
|
mingw32_CXXFLAGS=-pipe -std=$(CXX_STANDARD)
|
2021-11-16 03:01:38 +01:00
|
|
|
|
|
|
|
ifneq ($(LTO),)
|
2022-06-16 11:19:49 +02:00
|
|
|
mingw32_AR = $(host_toolchain)gcc-ar
|
|
|
|
mingw32_NM = $(host_toolchain)gcc-nm
|
|
|
|
mingw32_RANLIB = $(host_toolchain)gcc-ranlib
|
2021-11-16 03:01:38 +01:00
|
|
|
endif
|
|
|
|
|
2014-09-23 23:00:31 +02:00
|
|
|
mingw32_release_CFLAGS=-O2
|
|
|
|
mingw32_release_CXXFLAGS=$(mingw32_release_CFLAGS)
|
|
|
|
|
2024-02-29 16:01:10 +01:00
|
|
|
mingw32_debug_CFLAGS=-O1 -g
|
2014-09-23 23:00:31 +02:00
|
|
|
mingw32_debug_CXXFLAGS=$(mingw32_debug_CFLAGS)
|
|
|
|
|
|
|
|
mingw32_debug_CPPFLAGS=-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC
|
2019-07-09 20:40:45 +02:00
|
|
|
|
2024-05-15 09:19:02 +02:00
|
|
|
mingw32_cmake_system_name=Windows
|
2024-10-28 12:55:31 +01:00
|
|
|
# Windows 10
|
|
|
|
mingw32_cmake_system_version=10.0
|