about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-09-19 12:35:23 +0000
committerbors <bors@rust-lang.org>2015-09-19 12:35:23 +0000
commit655b2ef45fb87925fcdd4ceb44eb36e0c62dad24 (patch)
tree1e73798211f3a76bfc4a139eb92f30ddbab5a697 /src/libsyntax
parentb3afb16d246c6aa080cf52a85003e19da79b828e (diff)
parent913fe6dbe9425330027b7d75ba16be47d7280d66 (diff)
downloadrust-655b2ef45fb87925fcdd4ceb44eb36e0c62dad24.tar.gz
rust-655b2ef45fb87925fcdd4ceb44eb36e0c62dad24.zip
Auto merge of #28495 - semarie:stdcpp-name, r=alexcrichton
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.

r? @alexcrichton 

I added this support globally instead of just for OpenBSD as it isn't specially related to OpenBSD (except OpenBSD use it for gcc-4.9). And as I would had to change `llvm.mk', having just a default value in `configure' for others platforms won't be very useful.
Diffstat (limited to 'src/libsyntax')
0 files changed, 0 insertions, 0 deletions