[LLVMbugs] [Bug 8709] New: -mmacosx-version-min improperly added to options when build isn't on Darwin

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 30 10:37:03 PST 2010


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

           Summary: -mmacosx-version-min improperly added to options when
                    build isn't on Darwin
           Product: Build scripts
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Makefiles
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: llvmbugzilla-75 at apokalypsesoftware.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=5840)
 --> (http://llvm.org/bugs/attachment.cgi?id=5840)
patch to relocate target=darwin check within preceding host=darwin check

A check is made if the target for the built toolchain is darwin, and a
darwin-specific option is added.

This option isn't applicable, however, when the toolchain is being built, or
hosted, on another platform (eg, linux).

I've attached a patch that relocates this check within another check that the
host platform is darwin.

-- 
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.



More information about the llvm-bugs mailing list