diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-05-28 09:28:14 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-06-02 18:04:24 +0300 |
commit | f09ed92be132ebcb91b459c87d640a14b4b54336 (patch) | |
tree | efd3d44a51d90ac545cb52c9331158d09518ecaf /depends/hosts | |
parent | 1186910b6b7ba7c7e5193c76f33f25825e6cc0b7 (diff) |
build: Try posix-specific CXX first for mingw32 host
Diffstat (limited to 'depends/hosts')
-rw-r--r-- | depends/hosts/mingw32.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/depends/hosts/mingw32.mk b/depends/hosts/mingw32.mk index be5fec570c..92fd1b81bf 100644 --- a/depends/hosts/mingw32.mk +++ b/depends/hosts/mingw32.mk @@ -1,3 +1,7 @@ +ifneq ($(shell which $(host)-g++-posix),) +mingw32_CXX := $(host)-g++-posix +endif + mingw32_CFLAGS=-pipe mingw32_CXXFLAGS=$(mingw32_CFLAGS) |