"Create a default symver on Linux like ELF OSes."
Fails the build under Debian with ld.gold:
/usr/bin/ld.gold: --default-symver: unknown option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214482
91177308-0d34-0410-b5e6-
96231b3b80d8
LLVMLibsOptions += -Wl,--no-undefined
endif
-ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux GNU GNU/kFreeBSD))
- # Define a default symbol version
- LLVMLibsOptions += -Wl,--default-symver
-endif
-
ifeq ($(HOST_OS),SunOS)
# add -z allextract ahead of other libraries on Solaris
LLVMLibsOptions := -Wl,-z -Wl,allextract $(LLVMLibsOptions)