Skip to content

Commit

Permalink
core: make working on the system with just a cc or clang and no gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Dec 2, 2023
1 parent a4b1263 commit 5dc91d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.defs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ YACC := $(shell echo "$${YACC}")

# find compiler name & version
ifeq ($(CC),)
CC=gcc
CC=$(shell for x in cc clang gcc; do which $${x} >/dev/null && break; done; echo $${x})
endif
LD= $(CC)
CC_LONGVER=$(shell if $(CC) -v 2>/dev/null; then \
Expand Down

0 comments on commit 5dc91d3

Please sign in to comment.