modified: Makefile

This commit is contained in:
2022-09-29 00:03:46 +08:00
parent aecd122618
commit 603bea1e3c
+2 -2
View File
@@ -23,13 +23,13 @@ ifeq ($(COMPILER), clang )
ifneq (, $(shell which llvm-ranlib))
RANLIB = llvm-ranlib
endif
LINKFLAGS += -Wl,-undefined,error
LINKFLAGS += -lc++
else
LIBTOOL = ar rcs
ifneq (, $(shell which gcc-ar))
LIBTOOL = gcc-ar rcs
endif
LINKFLAGS += -Wl,-no-undefined
LINKFLAGS += -lstdc++
endif
OPTFLAGS += $(SEMANTIC_INTERPOSITION)