diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-31 14:35:00 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-31 14:35:00 +0000 |
commit | 90f9b8a7bcd02b154a0c068c0589171b43ffba8d (patch) | |
tree | ee1958eddffdf1749cf48e849ebeb5f88f572ce1 /tools | |
parent | 83dd2ae095626d8e461f8a69214ec2b97ff18c2f (diff) | |
download | external_llvm-90f9b8a7bcd02b154a0c068c0589171b43ffba8d.zip external_llvm-90f9b8a7bcd02b154a0c068c0589171b43ffba8d.tar.gz external_llvm-90f9b8a7bcd02b154a0c068c0589171b43ffba8d.tar.bz2 |
Rules adjustments in order to build on DragonFly BSD.
Patch by Robin Hahling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193750 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 1d9053b..92f3132 100644 --- a/tools/llvm-shlib/Makefile +++ b/tools/llvm-shlib/Makefile @@ -62,13 +62,13 @@ ifeq ($(HOST_OS),Darwin) endif endif -ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD GNU/kFreeBSD OpenBSD GNU Bitrig)) +ifeq ($(HOST_OS), $(filter $(HOST_OS), DragonFly Linux FreeBSD GNU/kFreeBSD OpenBSD GNU Bitrig)) # Include everything from the .a's into the shared library. LLVMLibsOptions := -Wl,--whole-archive $(LLVMLibsOptions) \ -Wl,--no-whole-archive endif -ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD GNU/kFreeBSD GNU)) +ifeq ($(HOST_OS), $(filter $(HOST_OS), DragonFly Linux FreeBSD GNU/kFreeBSD GNU)) # Add soname to the library. LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT) endif |