Revert of 214418:
authorSylvestre Ledru <sylvestre@debian.org>
Fri, 1 Aug 2014 06:16:03 +0000 (06:16 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 1 Aug 2014 06:16:03 +0000 (06:16 +0000)
"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

llvm-svn: 214482

llvm/tools/llvm-shlib/Makefile

index 4e656b4..19077a3 100644 (file)
@@ -69,11 +69,6 @@ ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux GNU GNU/kFreeBSD))
     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)