Skip to content

Commit

Permalink
allow setting LD
Browse files Browse the repository at this point in the history
  • Loading branch information
crowell committed Jul 8, 2022
1 parent 205f815 commit 711aba6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions soh/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CXX ?= g++
CC ?= gcc
LD := lld
LD ?= lld
AR := ar
FORMAT := clang-format-11
ZAPD := ../ZAPDTR/ZAPD.out
Expand Down Expand Up @@ -210,7 +210,7 @@ build/%.o: %.c
$(TARGET): $(LIBULTRASHIP)

$(TARGET): $(O_FILES)
$(CXX) $^ -o $@ $(LDFLAGS) $(LDDIRS) $(LDLIBS)
$(CXX) $^ -o $@ $(LDFLAGS) -fuse-ld=$(LD) $(LDDIRS) $(LDLIBS)

-include $(D_FILES)

Expand Down

0 comments on commit 711aba6

Please sign in to comment.