From b9052bdfa80516b9c595f726559eff0514754ced Mon Sep 17 00:00:00 2001 From: Bill Date: Thu, 29 Sep 2022 00:53:13 +0800 Subject: [PATCH] modified: Makefile --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 819e440..a355cb9 100644 --- a/Makefile +++ b/Makefile @@ -23,13 +23,12 @@ ifeq ($(COMPILER), clang ) ifneq (, $(shell which llvm-ranlib)) RANLIB = llvm-ranlib endif - LINKFLAGS += -lc++ else + RANLIB = echo LIBTOOL = ar rcs ifneq (, $(shell which gcc-ar)) LIBTOOL = gcc-ar rcs endif - LINKFLAGS += -lstdc++ endif OPTFLAGS += $(SEMANTIC_INTERPOSITION)