Skip to content

Reconfiguring should preserve CFG_* settings #387

Closed

Description

@erickt

As I mentioned in graydon/rust#368, I need to specify a custom version of llvm and clang for compiling rust. Unfortunately, when the makefiles are changed, this triggers a reconfigure, which blows away my CFG_* settings. This results in the wrong version of clang being used, which causes my build to error out. Could the CFG_ be preserved across reconfigures to prevent this from happening?

Activity

  1. eholk commented on May 18, 2011

    @eholk
    Contributor

    The way I deal with needing a special version of LLVM and Clang is to create an env.sh that I source in my terminal before beginning rust work. This changes to PATH so that the Rust-compatible LLVM and Clang are preferred over the system default.

    Of course, being able to specify a user config file that overrides the automatically determined values would be nice sometimes too.

  2. graydon commented on May 26, 2011

    @graydon
    Contributor

    overriding CFG settings manually is not supported; landed support for hitting this particular case in different way

  3. added a commit that references this issue on Dec 12, 2017
  4. added a commit that references this issue on Nov 29, 2018
  5. added a commit that references this issue on Nov 19, 2023
  6. added 2 commits that reference this issue on Aug 21, 2026
    e4ffd7b
    ff64b42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions