http://llvm.org/bugs/show_bug.cgi?id=19745
Bug ID: 19745
Summary: '--no-add-needed' is added to the linker flags for all
versions of RHEL
Product: clang
Version: 3.4
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Driver
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Line 2412 of ToolChains.cpp
if (IsRedhat(Distro))
ExtraOpts.push_back("--no-add-needed");
This is incorrect for RHEL5 which defaults to and needs '-add-needed'.
As the flag ist correct for RHEL6, I propose changing this to:
if (IsRedhat(Distro) && Distro == RHEL6))
ExtraOpts.push_back("--no-add-needed");
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs