diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2012-07-15 12:53:06 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2012-07-15 12:53:06 +0000 |
commit | 7dae689d322ae2a84b82f4762af780bb3f84b251 (patch) | |
tree | 45617eddfbf97b84f714ce42c1886f3d27c98588 /lib/Driver/Tools.cpp | |
parent | d320ffc0f58df23eb0e698c79105a68de9c0e37a (diff) |
Enable new linker behaviour on FreeBSD.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160231 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r-- | lib/Driver/Tools.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 66d792ffba..59196b20e2 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -4996,6 +4996,8 @@ void freebsd::Link::ConstructJob(Compilation &C, const JobAction &JA, const char *LinkingOutput) const { const Driver &D = getToolChain().getDriver(); ArgStringList CmdArgs; + CmdArgs.push_back("--hash-style=both"); + CmdArgs.push_back("--enable-new-dtags"); if (!D.SysRoot.empty()) CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); |