Skip to content

Commit

Permalink
Use command -v rather than which
Browse files Browse the repository at this point in the history
Brought to my attention by
rust-lang/rust#13147
  • Loading branch information
kchmck committed Apr 1, 2014
1 parent e735b12 commit f75393c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ ifneq ($(STAGE), )

ifeq ($(UNAME), Darwin)
override CFLAGS += -mmacosx-version-min=10.7 -stdlib=libc++
override QMAKEFLAGS += QMAKE_CXX=$(shell which clang++)
override QMAKEFLAGS += QMAKE_CXX=$(shell command -v clang++)
else ifeq ($(OS), Windows_NT)
override LDFLAGS += -static
override QMAKEFLAGS += CONFIG-=debug_and_release
Expand Down

0 comments on commit f75393c

Please sign in to comment.