Don't depend on gcc_s

This commit is contained in:
jvoisin 2022-01-28 19:51:00 +01:00 committed by Daniel Micay
parent 448170a412
commit 04a86566c3

View File

@ -44,7 +44,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++ -lgcc_s
LDLIBS += -lstdc++
SOURCES += new.cc
OBJECTS += new.o