about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorSébastien Marie <semarie@users.noreply.github.com>2015-12-19 18:00:23 +0100
committerSébastien Marie <semarie@users.noreply.github.com>2015-12-20 07:21:36 +0100
commitb74359a0a0c88893d37a2057a955773f399b6508 (patch)
tree5b459c8e6c67742d28ac06f4cb73f1138b08f296 /src/rustllvm/RustWrapper.cpp
parente6418964b9fe8e3f49cf335adab6615c183ebdb5 (diff)
downloadrust-b74359a0a0c88893d37a2057a955773f399b6508.tar.gz
rust-b74359a0a0c88893d37a2057a955773f399b6508.zip
openbsd: use specific linker for building
By default, rustc use `cc` as linker. Under OpenBSD, `cc` is gcc version 4.2.1.
So use the compiler found at configure-time for linking: it will be gcc 4.9.

It permits to resolv problem of finding -lestdc++ or -lgcc. For base gcc (4.2), there are in not standard path, whereas for ports gcc (4.9) there are in standard path.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions