build: Replace `which` command with `command -v`

This change made in a way that is compatible with GNU Make versions
older than 4.3.
pull/826/head
Hennadii Stepanov 3 years ago
parent 8f137e69ca
commit 148b33cf72
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

@ -1,4 +1,4 @@
ifneq ($(shell which $(host)-g++-posix),)
ifneq ($(shell $(SHELL) $(.SHELLFLAGS) "command -v $(host)-g++-posix"),)
mingw32_CXX := $(host)-g++-posix
endif

Loading…
Cancel
Save