Detect clang in unusal locations, fixed issue #20

merge-requests/1/head
bzt 3 years ago
parent 5b13101163
commit 378f44ea70

@ -22,7 +22,7 @@ TMP2 = $(LIBSRCS:.c=.o)
LIBOBJS = $(TMP2:.S=.o)
# detect toolchain
ifeq ($(wildcard /usr/bin/clang),)
ifeq ($(wildcard /usr/bin/clang)$(wildcard /usr/local/bin/clang)$(wildcard /usr/lib/llvm/*/bin/clang),)
USE_GCC = 1
endif
ifneq ($(USE_GCC),)

Loading…
Cancel
Save