[diff] let llvm-shlib build on OpenBSD

Hi, llvmdev!

The diff attached takes the features of OpenBSD binutils into account
(which needs --whole-archive) and makes build with ENABLE_SHARED
successful.

llvm-shlib.diff (614 Bytes)

Vladimir,

It is as same as freebsd :slight_smile:
See also http://llvm.org/bugs/show_bug.cgi?id=8434

I will commit them fused tomorrow, if no one objects.

...Takumi

Committed in r117528, thank you!

...Takumi

Awesome, thanks :slight_smile: