From 58b56f10eae3a16d34ac4123f56fa90c8100cce6 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 18 Aug 2019 04:53:51 -0400 Subject: [PATCH] avoid -shared-libgcc due to old Clang versions --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 30b2722..44dec19 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ OBJECTS := $(SOURCES:.c=.o) ifeq ($(CONFIG_CXX_ALLOCATOR),true) # make sure LTO is compatible in case CC and CXX don't match (such as clang and g++) CXX := $(CC) - LDLIBS += -lstdc++ -shared-libgcc + LDLIBS += -lstdc++ -lgcc_s SOURCES += new.cc OBJECTS += new.o