Skip to content

Set ARCHFLAGS environment variable - for Perl modules #21175

@mkoeppe

Description

@mkoeppe

To make installing Perl modules easier on Mac OS X, we should set the ARCHFLAGS environment variable. This is to make sure that the output of perl -MExtUtils::Embed -e ldopts and perl -MExtUtils::Embed -e ccflags (picked up from system perl) do not contain -arch flags incompatible with our gcc.

This simplifies perl_term_readline_gnu (#20894), polymake (#20892), and makes installing pypolymake (#21170) as a pip package possible.

CC: @videlec @jdemeyer @embray @vbraun @sagetrac-tmonteil @dimpase @kcrisman

Component: build

Author: Matthias Koeppe

Branch: 78f2cfa

Reviewer: Dima Pasechnik

Issue created by migration from https://trac.sagemath.org/ticket/21175

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions