https://bugs.llvm.org/show_bug.cgi?id=19745
Fangrui Song <i...@maskray.me> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |i...@maskray.me
Resolution|--- |FIXED
--- Comment #3 from Fangrui Song <i...@maskray.me> ---
> '--no-add-needed' is the default only since RHEL7
gcc doesn't add the option. I think it is just that before binutils 2.22,
--add-needed was the default.
Just deleted
if (Distro.IsRedhat() && Distro != Distro::RHEL5 && Distro != Distro::RHEL6)
ExtraOpts.push_back("--no-add-needed");
in r365877
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs