build: Try posix-specific CXX first for mingw32 host

This commit is contained in:
Hennadii Stepanov 2021-05-28 09:28:14 +03:00
parent 1186910b6b
commit f09ed92be1
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

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)