aboutsummaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-09-03 15:42:38 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-09-03 15:42:38 +0000
commitd46bd6efa0fdf7a3ab5398b72cf4b394293c25ca (patch)
tree4f417e6936cadf11143bd96352449910ca06692d /Makefile.rules
parent6a8700301ca6f8f2f5f787c8d1f5206a7dfceed6 (diff)
Revert "Rules for win32 ld shouldn't fire when cross-compiling."
This reverts commit 012b374e5b46fe93a8fdf605f5929fa8239e0960. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112963 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules7
1 files changed, 0 insertions, 7 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 41b5638e82..59fa834b4c 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -972,14 +972,7 @@ LLVMLibsOptions += -Wl,-exported_symbols_list,$(NativeExportsFile)
endif
# GNU ld Win32 accepts .DEF files that contain "DATA" entries.
-# This doesn't work when cross-compiling, though.
ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
-ifneq ($(LLVM_CROSS_COMPILING),1)
-HAVE_WIN32_GNU_LD=1
-endif
-endif
-
-ifeq ($(HAVE_WIN32_GNU_LD),1)
NativeExportsFile := $(ObjDir)/$(notdir $(EXPORTED_SYMBOL_FILE:.exports=.def))
# LLVMLibsOptions is invalidated at processing tools/llvm-shlib.