Skip to content

Commit

Permalink
clang.mak: allow use of ld.bfd
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Jun 13, 2024
1 parent a321f48 commit 2453e1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fdpp/clang.mak
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
# CLANG.MAK - kernel copiler options for clang
#

ifneq ($(filter x86_64 amd64,$(shell uname -m)),)
CROSS_LD ?= ld.bfd
else
CROSS_LD ?= x86_64-linux-gnu-ld
endif
CCACHE ?= $(shell which ccache 2>/dev/null)
CC ?= $(CCACHE) clang
CXX = $(CCACHE) clang++
Expand Down

0 comments on commit 2453e1b

Please sign in to comment.