Skip to content

sage-env, sage-build-env: No longer allow environment variables CC, CFLAGS, ... to override configured variables #32436

@mkoeppe

Description

@mkoeppe

After this change, only ./configure will pick up these variables from the environment.

This is an incompatible change to long-standing behavior of Sage, but the change will bring the build system in line with autotools and avoid confusing failures.

Overriding CC, CFLAGS, ... will still be possible by passing them as makefile variables on the command line (make CFLAGS="-gggg" build)

(previous related tickets: #29507, #23570, #30375)

CC: @kliem @dimpase

Component: build

Author: Jonathan Kliem

Branch/Commit: public/32436 @ 1e5da46

Reviewer: Matthias Koeppe

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions