unknown option: -soname

Hi all,

I would really appreciate it if anyone could share some insights as to why I get the following error

ld: unknown option: -soname
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I looked up the documentation of ld (here: http://ftp.gnu.org/pub/old-gnu/Manuals/ld-2.9.1/html_node/ld_3.html) and the option -soname does exist, however Apple’s documentation (here: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/ld.1.html) does not include the option -soname.

I would like to know what changes are safe to make to the “buildit” file that comes with libc++ so that the build goes through. Below, I am attaching the output that shows up on the terminal screen.

Thanks in advance,