summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2010-10-04 02:32:21 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2010-10-04 02:32:21 +0000
commitb9699070e81577b7b1ca6d756f4e7c1251fa4bea (patch)
tree46137fd4c19008ae041c817d922b13110527b085 /llvm
parenta7f45cf749032f273c1689e2a02b1069c94eb3bd (diff)
downloadbcm5719-llvm-b9699070e81577b7b1ca6d756f4e7c1251fa4bea.tar.gz
bcm5719-llvm-b9699070e81577b7b1ca6d756f4e7c1251fa4bea.zip
Makefile.rules: Fix breakage on cygming --enable-shared.
This has been applied already in r115093 on release_28. llvm-svn: 115487
Diffstat (limited to 'llvm')
-rw-r--r--llvm/Makefile.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules
index 5148bc217da..261578f35f7 100644
--- a/llvm/Makefile.rules
+++ b/llvm/Makefile.rules
@@ -945,6 +945,11 @@ ifdef EXPORTED_SYMBOL_FILE
# First, set up the native export file, which may differ from the source
# export file.
+# The option --version-script is not effective on GNU ld win32.
+ifneq (,$(filter $(HOST_OS),Cygwin MingW))
+ HAVE_LINK_VERSION_SCRIPT := 0
+endif
+
ifeq ($(HOST_OS),Darwin)
# Darwin convention prefixes symbols with underscores.
NativeExportsFile := $(ObjDir)/$(notdir $(EXPORTED_SYMBOL_FILE)).sed
OpenPOWER on IntegriCloud