build: Try posix-specific CXX first for mingw32 host

This commit is contained in:
Hennadii Stepanov committed 2021-06-02 18:04:24 +03:00
1 parent 1186910b6b
commit f09ed92be1
1 file changed
+4
+4
View File
@@ -1,3 +1,7 @@
ifneq ($(shell which $(host)-g++-posix),)
mingw32_CXX := $(host)-g++-posix
endif
mingw32_CFLAGS=-pipe
mingw32_CXXFLAGS=$(mingw32_CFLAGS)