about summary refs log tree commit diff
path: root/src/libsyntax/errors
diff options
context:
space:
mode:
authorSébastien Marie <semarie@users.noreply.github.com>2015-09-18 16:30:45 +0200
committerSébastien Marie <semarie@users.noreply.github.com>2015-09-18 18:03:59 +0200
commit913fe6dbe9425330027b7d75ba16be47d7280d66 (patch)
treed9d59b3632e95b545ddeee0d86a7e06cb085efb3 /src/libsyntax/errors
parentcff04117064ddee95f425c49f22c8aa5a3a665d4 (diff)
downloadrust-913fe6dbe9425330027b7d75ba16be47d7280d66.tar.gz
rust-913fe6dbe9425330027b7d75ba16be47d7280d66.zip
add support for non-standard name of stdc++ library
it makes rustc compatible with gcc installation that are using
`--program-transform-name' configure flag (on OpenBSD for example).

- detects at configure the name of stdc++ library on the system

- use the detected name in llvm makefile (with enable-static-stdcpp),
  and pass it to mklldeps.py

- generate mklldeps.rs using this detected name

note that CFG_STDCPP_NAME is about stdc++ name, not about libc++. If
using libc++, the default name will be `stdc++', but it won't be used
when linking.
Diffstat (limited to 'src/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions