We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue discussed here: https://forum.dlang.org/post/[email protected]
When compilation and linking are separate:
dflags
lflags
-L
How to pass a flag to the compiler during linking without the -L prefix? This is needed for example for -flto=... and -fsanitize=... with LDC.
-flto=...
-fsanitize=...
(note that separate linking is not implemented for LDC (#809), but it is possible when ldmd2 is used as is done in the forum thread)
ldmd2
The text was updated successfully, but these errors were encountered:
Resolved by #1755 (for ldc2, not ldmd2): https://github.com/kinke/dub/blob/cfb281e289e7f72bfdd0f3e04407470d27cb8c4b/source/dub/compilers/ldc.d#L270-L288
ldc2
Sorry, something went wrong.
No branches or pull requests
Issue discussed here:
https://forum.dlang.org/post/[email protected]
When compilation and linking are separate:
dflags
is passed to the compilerlflags
is prefixed with-L
and then passed to the compilerHow to pass a flag to the compiler during linking without the
-L
prefix?This is needed for example for
-flto=...
and-fsanitize=...
with LDC.(note that separate linking is not implemented for LDC (#809), but it is possible when
ldmd2
is used as is done in the forum thread)The text was updated successfully, but these errors were encountered: