pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/compilers support for MacOS



> Here are the issues I ran into (after the patch):
> 
> lang/llvm (a clang dependency): Compiling failed with the following error:
> 
> [  4%] Linking CXX static library ../libLLVMSupport.a
> libtool: unrecognized option `-static'
> libtool: Try `libtool --help' for more information.
> *** Error code 1
> 
> lang/libLLVM: Compiling failed with the following error:
> 
> [  6%] Linking CXX static library ../libLLVMSupport.a
> libtool: unrecognized option `-static'
> libtool: Try `libtool --help' for more information.
> *** Error code 1

I fixed this in llvm/clang 3.9.1 by adding

CMAKE_ARGS+=    -DCMAKE_LIBTOOL=/usr/bin/libtool

System libtool is a different tool than the one provided by pkgsrc, so the former should be used for llvm/clang.

I don't use GCC at all.

Kind regards,
Adam


Home | Main Index | Thread Index | Old Index