From 9acf472c027e0468156d04b9ffd777b8666eee01 Mon Sep 17 00:00:00 2001 From: Herbert Greenlee Date: Tue, 24 Sep 2019 16:59:30 -0500 Subject: [PATCH] Switch to using clang to link for c2. --- Makefile/Makefile.Linux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile/Makefile.Linux b/Makefile/Makefile.Linux index 50d07d5c2..56dadbe8f 100644 --- a/Makefile/Makefile.Linux +++ b/Makefile/Makefile.Linux @@ -1,9 +1,9 @@ CXX = $(LARLITE_CXX) -LD = g++ +LD = $(LARLITE_CXX) LDFLAGS += -Wl,-rpath,$(LARLITE_BASEDIR)/lib FFLAGS += -Wall FLDFLAGS += -lstdc++ -shared CXXFLAGS += -g -O3 $(LARLITE_CXXSTDFLAG) -W -Wall -Wno-deprecated -fPIC -D_CORE_$(shell uname -s)_ -SOMAKER = g++ +SOMAKER = $(LARLITE_CXX) SOFLAGS = -g -fPIC -shared