[llvm-commits] [llvm] r112963 - /llvm/trunk/Makefile.rules
Mikhail Glushenkov
foldr at codedgers.com
Fri Sep 3 08:42:38 PDT 2010
Author: foldr
Date: Fri Sep 3 10:42:38 2010
New Revision: 112963
URL: http://llvm.org/viewvc/llvm-project?rev=112963&view=rev
Log:
Revert "Rules for win32 ld shouldn't fire when cross-compiling."
This reverts commit 012b374e5b46fe93a8fdf605f5929fa8239e0960.
Modified:
llvm/trunk/Makefile.rules
Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=112963&r1=112962&r2=112963&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Fri Sep 3 10:42:38 2010
@@ -972,14 +972,7 @@
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.
More information about the llvm-commits
mailing list