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