Opened 12 years ago

Closed 12 years ago

#4243 closed Bugs (fixed)

darwin.jam: -mmacosx-version-min not passed to compiler

Reported by: anonymous Owned by: Vladimir Prus
Milestone: Boost 1.43.0 Component: build
Version: Boost 1.44.0 Severity: Problem
Keywords: Cc:

Description

In darwin.jam these lines:

            case mac* :
            {
                flags darwin.compile OPTIONS <macosx-version-min>$(version-feature)
                    : -miphoneos-version-min=$(version[2-]:J=.) ;
                flags darwin.link OPTIONS <macosx-version-min>$(version-feature)
                    : -miphoneos-version-min=$(version[2-]:J=.) ;
            }

Should be:

            case mac* :
            {
                flags darwin.compile OPTIONS <macosx-version-min>$(version-feature)
                    : -mmacosx-version-min=$(version[2-]:J=.) ;
                flags darwin.link OPTIONS <macosx-version-min>$(version-feature)
                    : -mmacosx-version-min=$(version[2-]:J=.) ;
            }

The bug prevents the option -mmacosx-version-min to be passed to the compiler. But this option is essential to get backwards compatible binaries.

Change History (2)

comment:1 by anonymous, 12 years ago

Component: Building Boostbuild
Owner: set to Vladimir Prus

Merge Building Boost with build tool.

comment:2 by Steven Watanabe, 12 years ago

Resolution: fixed
Status: newclosed

(In [62534]) Use -mmacosx-version-min instead of -miphoneos-version-min. Fixes #4243

Note: See TracTickets for help on using tickets.