modified: Makefile

dev
Bill 2 years ago
parent aecd122618
commit 603bea1e3c

@ -23,13 +23,13 @@ ifeq ($(COMPILER), clang )
ifneq (, $(shell which llvm-ranlib)) ifneq (, $(shell which llvm-ranlib))
RANLIB = llvm-ranlib RANLIB = llvm-ranlib
endif endif
LINKFLAGS += -Wl,-undefined,error LINKFLAGS += -lc++
else else
LIBTOOL = ar rcs LIBTOOL = ar rcs
ifneq (, $(shell which gcc-ar)) ifneq (, $(shell which gcc-ar))
LIBTOOL = gcc-ar rcs LIBTOOL = gcc-ar rcs
endif endif
LINKFLAGS += -Wl,-no-undefined LINKFLAGS += -lstdc++
endif endif
OPTFLAGS += $(SEMANTIC_INTERPOSITION) OPTFLAGS += $(SEMANTIC_INTERPOSITION)

Loading…
Cancel
Save