mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-21 13:54:15 -07:00
Eliminate "which" dependency in Linux makefile.
This commit is contained in:
parent
9d49e8f237
commit
65999611d7
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
# Pick clang or gcc, with preference for clang
|
||||
CC=$(shell which clang gcc cc 2>/dev/null | head -n 1)
|
||||
CXX=$(shell which clang++ g++ c++ 2>/dev/null | head -n 1)
|
||||
CC=$(shell if [ -e /usr/bin/clang++ ]; then echo clang++; else echo g++; fi)
|
||||
CXX=$(shell if [ -e /usr/bin/clang++ ]; then echo clang++; else echo g++; fi)
|
||||
|
||||
INCLUDES=
|
||||
DEFS=
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue