Skip to content

Cannot build without changing hardcoded values #197

@RasmusLar

Description

@RasmusLar

Reading this PR #176 I understand that there is no way to change the hardcoded values for the CLang compiler. I wanted to build a 64 bit version using MinGW with included CLang, using the some other linker which is the only one I had installed for 64 bit builds (Worked fine with 32bit builds, as it was installed), so I added:
Archiver {
Flags "-fuse-ld=ld"
}
, but it fails with clang: error: invalid linker name in argument '-fuse-ld=llvm-lib'
from the command: clang -fuse-ld=ld -fuse-ld=llvm-lib -o build/....

Suggestion:
Add a flag or some settings to be able to change these, but keep them default the same.
Right now I will solve it by changing LLVM install I guess, but it would be nice to be able to change it to what you would like to have, instead of having it hardcoded.

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