summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2012-04-11 15:35:36 +0000
committerSylvestre Ledru <sylvestre@debian.org>2012-04-11 15:35:36 +0000
commit6fc30c26b7fa9e89c4e9ab99b7feab11389cc3f4 (patch)
treec9c0eb6e787e01990aabf2e15d388c01cf58769e /Makefile.rules
parent611afc0620aed7827b5fdf9072a1827952b684b6 (diff)
downloadllvm-6fc30c26b7fa9e89c4e9ab99b7feab11389cc3f4.tar.gz
llvm-6fc30c26b7fa9e89c4e9ab99b7feab11389cc3f4.tar.bz2
llvm-6fc30c26b7fa9e89c4e9ab99b7feab11389cc3f4.tar.xz
Fix the build under Debian GNU/Hurd.
Thanks to Pino Toscano for the patch git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154500 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 76cec18ff8..0984dc0723 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -1432,7 +1432,7 @@ LD.Flags += -Wl,-exported_symbol,_main
endif
endif
-ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux NetBSD FreeBSD))
+ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux NetBSD FreeBSD GNU))
ifneq ($(ARCH), Mips)
LD.Flags += -Wl,--version-script=$(LLVM_SRC_ROOT)/autoconf/ExportMap.map
endif