Skip to content

Commit

Permalink
clang.mak: set clang back
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Jan 2, 2025
1 parent e3b0beb commit 12d866f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fdpp/clang.mak
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ else
$(error binutils-x86-64-linux-gnu not installed)
endif
endif
# don't use ?= here as that doesn't override make's builtin CC var
CC = clang
CXX = clang++
CLANG_VER := $(shell $(CXX) --version 2>&1 | head -n 1 | grep clang | \
sed -E 's/.+ version ([^.]+)\.[^.]+\.[^ ]+.*/\1/')
ifeq ($(CLANG_VER),)
Expand Down

0 comments on commit 12d866f

Please sign in to comment.