Skip to content

buildenv block uses setenv and does not recognise PATH-like variables #4004

@ocaisa

Description

@ocaisa

This means that it blows away important environment variables like CPLUS_INCLUDE_PATH

# include environment variables defined for (non-system) toolchain
if not self.toolchain.is_system_toolchain():
for key, val in sorted(self.toolchain.vars.items()):
txt += self.module_generator.set_environment(key, val)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions