aboutsummaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-05-04 18:40:41 +0000
committerMike Stump <mrs@apple.com>2009-05-04 18:40:41 +0000
commitfe095f39e7009c51d1c86769792ccbcad8cdd2ec (patch)
treec9883b04cd8a1416361a0b29a6a91bf2417bbf3e /Makefile.rules
parent04fa35ab13afbbc5b2f12437a256db84a27485d2 (diff)
Restore minor deletion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70892 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 6658edce04..ce31f22ee0 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -361,6 +361,15 @@ ifeq ($(ARCH),Alpha)
LD.Flags += -Wl,--no-relax
endif
+ifeq ($(OS),MingW)
+ ifeq ($(LLVM_CROSS_COMPILING),1)
+ # Work around http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525016
+ ifdef TOOLNAME
+ LD.Flags += -Wl,--allow-multiple-definition
+ endif
+ endif
+endif
+
#--------------------------------------------------------------------
# Directory locations
#--------------------------------------------------------------------