Skip to content

Rule-based toolchains add unnecessary include flags to assemble actions #698

@davidbalbert

Description

@davidbalbert

Old-style toolchains add added include flags in to preprocess_assemble, but not assemble (see get_legacy_features).

Rule-based toolchains use source_compile_actions, which includes both preprocess_assemble and assemble.

This can break toolchains that want to use as for assemble and gcc/clang for preprocess_assemble: it broke as from GNU binutils 2.36.1 for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3We're not considering working on this, but happy to review a PR. (No assignee)category: toolchainstype: bugSomething that should be working isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions