diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2012-04-11 15:35:36 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2012-04-11 15:35:36 +0000 |
commit | 6fc30c26b7fa9e89c4e9ab99b7feab11389cc3f4 (patch) | |
tree | c9c0eb6e787e01990aabf2e15d388c01cf58769e /tools | |
parent | 611afc0620aed7827b5fdf9072a1827952b684b6 (diff) |
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 'tools')
-rw-r--r-- | tools/llvm-shlib/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-shlib/Makefile b/tools/llvm-shlib/Makefile index 0035e3aebe..2d2e2c55b8 100644 --- a/tools/llvm-shlib/Makefile +++ b/tools/llvm-shlib/Makefile @@ -63,7 +63,7 @@ ifeq ($(HOST_OS),Darwin) endif endif -ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD OpenBSD)) +ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD OpenBSD GNU)) # Include everything from the .a's into the shared library. LLVMLibsOptions := -Wl,--whole-archive $(LLVMLibsOptions) \ -Wl,--no-whole-archive @@ -71,7 +71,7 @@ ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD OpenBSD)) LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT) endif -ifeq ($(HOST_OS),Linux) +ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux GNU)) # Don't allow unresolved symbols. LLVMLibsOptions += -Wl,--no-undefined endif |