Skip to content

--param and other CFLAGS with arguments cause problems #10

@maxx23

Description

@maxx23

FlagNodupAdd() in bashrc.d/40-flag.sh also removes "--param" flag as duplicate if there is more than one "--param" since it's actual parameter is delimited by a space.

Example:
... --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 ...
becomes:
... --param l1-cache-size=32 l1-cache-line-size=64 l2-cache-size=4096 ...

There are a few more flags which should be allowed duplicate like the "-include" and "-imacros" (list by no means complete), although it is unlikely someone will specify these.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions