Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions target.make
Original file line number Diff line number Diff line change
Expand Up @@ -724,8 +724,13 @@ SHARED_LIBEXT = .so

HAVE_BUNDLES = yes
BUNDLE_LD = $(LD)
ifeq ($(CLANG_CC), yes)
BUNDLE_LDFLAGS += -shared -fPIC -lc++abi
ADDITIONAL_LDFLAGS += -Wl,-E -lc++abi
else
BUNDLE_LDFLAGS += -shared -fPIC
ADDITIONAL_LDFLAGS += -Wl,-E
endif
STATIC_LDFLAGS += -static

# nm on OpenBSD is rather like on Darwin
Expand Down