[LLVMdev] Patch to enable LLVM to build successfully with shared library support disabled

NAKAMURA Takumi geek4civic at gmail.com
Sun Nov 6 19:39:53 PST 2011


2011/11/5 Tom Honermann <thonermann at coverity.com>:
> I checked out llvm/trunk today and found that it failed to build
> successfully on Linux when 'configure' was invoked with '--disable-shared'
> and CFLAGS included '-static'.  The attached patch modifies a few Makefiles
> to prevent attempts to build shared libraries when ENABLE_SHARED is not set
> to 1.

Tom, ENABLE_SHARED means "To build the big libLLVM.so".
plugins are assumed to be built regardless of ENABLE_SHARED on elf/macho hosts.

To satisfy your issue, we would need to implement "--disable-plugins", IMO.

...Takumi




More information about the llvm-dev mailing list