From 2fd13bbae0e5ad2255b45a9fe69d724e472153a7 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 1 Aug 2014 06:16:03 +0000 Subject: [PATCH] Revert of 214418: "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 --- tools/llvm-shlib/Makefile | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/llvm-shlib/Makefile b/tools/llvm-shlib/Makefile index 4e656b438c3..19077a3858a 100644 --- a/tools/llvm-shlib/Makefile +++ b/tools/llvm-shlib/Makefile @@ -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)