From 065d7a61e2a10c5e729bc0f1b50b68ed85827c48 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 26 Feb 2009 18:37:59 +0000 Subject: Search for the export map in a place that it can be found. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65552 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.rules | 2 +- autoconf/ExportMap.map | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 autoconf/ExportMap.map diff --git a/Makefile.rules b/Makefile.rules index 388372e0a9..11d295ceb6 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -1079,7 +1079,7 @@ LD.Flags += -Wl,-exported_symbol -Wl,_main endif ifeq ($(OS), $(filter $(OS), Linux NetBSD FreeBSD)) -LD.Flags += -Wl,--version-script=Driver.map +LD.Flags += -Wl,--version-script=$(LLVM_SRC_ROOT)/ExportMap.map endif endif diff --git a/autoconf/ExportMap.map b/autoconf/ExportMap.map new file mode 100644 index 0000000000..43e310e053 --- /dev/null +++ b/autoconf/ExportMap.map @@ -0,0 +1,4 @@ +{ + global: main; + local: *; +}; -- cgit v1.2.3