http://llvm.org/bugs/show_bug.cgi?id=13992

             Bug #: 13992
           Summary: -Wl strips empty options
           Product: clang
           Version: 3.1
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


When using e.g. 'clang++ -Wl,rpath,' , the empty option at the end is skipped
and not passed to the linker, unlike with gcc, which does pass the option.

The difference can be observed e.g. by running 'strace -f -e execve -s 100
clang++ -Wl,-rpath,' and checking the options passed to ld.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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

Reply via email to