mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-12-20 13:24:21 -05:00
avoid -shared-libgcc due to old Clang versions
This commit is contained in:
parent
125efe99db
commit
58b56f10ea
2
Makefile
2
Makefile
@ -46,7 +46,7 @@ OBJECTS := $(SOURCES:.c=.o)
|
|||||||
ifeq ($(CONFIG_CXX_ALLOCATOR),true)
|
ifeq ($(CONFIG_CXX_ALLOCATOR),true)
|
||||||
# make sure LTO is compatible in case CC and CXX don't match (such as clang and g++)
|
# make sure LTO is compatible in case CC and CXX don't match (such as clang and g++)
|
||||||
CXX := $(CC)
|
CXX := $(CC)
|
||||||
LDLIBS += -lstdc++ -shared-libgcc
|
LDLIBS += -lstdc++ -lgcc_s
|
||||||
|
|
||||||
SOURCES += new.cc
|
SOURCES += new.cc
|
||||||
OBJECTS += new.o
|
OBJECTS += new.o
|
||||||
|
Loading…
Reference in New Issue
Block a user