mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Use clang if available
This commit is contained in:
parent
faab271283
commit
510e56c984
1 changed files with 8 additions and 0 deletions
8
Makefile
8
Makefile
|
@ -44,6 +44,14 @@ CFLAGS+=-D__QC_MODE__
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
CLANG=$(shell which clang)
|
||||||
|
|
||||||
|
ifneq (${CLANG},${EMPTY})
|
||||||
|
$(info Using clang compiler: ${CLANG})
|
||||||
|
CC=${CLANG}
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# Check dependencies
|
# Check dependencies
|
||||||
##
|
##
|
||||||
|
|
Loading…
Reference in a new issue