]> git.lizzy.rs Git - rust.git/commit
llvm: Add an option to statically link libstdc++
authorAlex Crichton <alex@alexcrichton.com>
Wed, 16 Apr 2014 17:45:04 +0000 (10:45 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 17 Apr 2014 18:39:51 +0000 (11:39 -0700)
commitacdee8b904178e13616cea8c31bcdb1f063ddef5
tree94f61225760e85142266ed53cdf3d27295ced683
parent36d5635273f7759b9aedce04bc8b111edb9c0742
llvm: Add an option to statically link libstdc++

The goal of the snapshot bots is to produce binaries which can run in as many
locations as possible. Currently we build on Centos 6 for this reason, but with
LLVM's update to C++11, this reduces the number of platforms that we could
possibly run on.

This adds a --enable-llvm-static-stdcpp option to the ./configure script for
Rust which will enable building a librustc with a static dependence on
libstdc++. This normally isn't necessary, but this option can be used on the
snapshot builders in order to continue to make binaries which should be able to
run in as many locations as possible.
configure
mk/llvm.mk
mk/target.mk
src/etc/mklldeps.py