Skip to content

Commit f09ed92

Browse files
committed
build: Try posix-specific CXX first for mingw32 host
1 parent 1186910 commit f09ed92

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

depends/hosts/mingw32.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
ifneq ($(shell which $(host)-g++-posix),)
2+
mingw32_CXX := $(host)-g++-posix
3+
endif
4+
15
mingw32_CFLAGS=-pipe
26
mingw32_CXXFLAGS=$(mingw32_CFLAGS)
37

0 commit comments

Comments
 (0)