Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#62403 closed defect (fixed)

libvpx build does not obey deployment target setting

Reported by: kencu (Ken) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ag@…, mascguy (Christopher Nielsen)
Port: libvpx

Description (last modified by kencu (Ken))

we build libvpx forcing the target like this:

force-target=${my_arch}-${os.platform}${os.major}-gcc

this builds against the build machine's os version.

when a user tries to build libvpx against an older deployment target, this build does not obey that deployment target.

https://lists.macports.org/pipermail/macports-users/2021-March/049617.html

perhaps our build target should incorporate the deployment target setting instead of using os.major.

Change History (7)

comment:1 Changed 4 years ago by kencu (Ken)

Description: modified (diff)

comment:2 Changed 4 years ago by kencu (Ken)

Owner: set to dbevans
Status: newassigned

comment:3 Changed 4 years ago by jmroot (Joshua Root)

Looks like you could patch build/make/configure.sh to not add its own -mmacosx-version-min and -isysroot flags.

comment:4 Changed 4 years ago by kencu (Ken)

yes, and that might hopefully fix the longstanding sdkroot issue in libvpx's other open ticket too...

comment:5 Changed 3 years ago by Gcenx

Resolution: fixed
Status: assignedclosed

In 2eb3c38d139e0fc9fd565e17f4df2386bcb6766f/macports-ports (master):

libvpx-devel: respect configure.sdkroot

Fixes: #59360
Fixes: #62403

comment:6 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:7 Changed 3 years ago by Christopher Nielsen <mascguy@…>

In 5c4e0c63e132073381e6ef111b623333882a4474/macports-ports (master):

libvpx: respect configure.sdkroot

Fixes: #59360
Fixes: #62403

Note: See TracTickets for help on using tickets.