Make DFLAGS works on the command line#81
Conversation
|
I just checked the dmd.conf for Ubuntu and understand this as an enhancement for how DMD handles environment variables specifically on Gentoo. Or is there precedent in other distributions? I like the idea, but it could cause issues where DFLAGS is currently set and not expected to be picked up by the compiler itself in every instance. |
|
I've been researching about this problem and it had some debate in the past but it was decided by Walter to close the issue. https://issues.dlang.org/show_bug.cgi?id=1660 |
|
I'm not merging this now, because I don't want to invest the time to check all the ebuilds and because upstream is undecided on how to deal with environment variables. If you want to join the "team" you could invest the time yourself and maintain this patch. |
|
Closing this now. Sorry! |
I found out that DFLAGS was not working.
Check with:
DFLAGS="-v qwerty" dmdI also moved the env. variable to the end of final flags just in case you need override something from the .conf file.