Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

CMake: Fix little regression with CMAKE_BUILD_TYPE=Debug, LDC host compiler and manual linking #3597

Merged
merged 1 commit into from
Oct 24, 2020

Conversation

kinke
Copy link
Member

@kinke kinke commented Oct 24, 2020

Under these circumstances, the -link-debuglib had no effect after #3575, so that the D executables were linked against release host druntime/Phobos.

Add the flag to DFLAGS_BASE instead, which is used by ExtractDMDSystemLinker.cmake and makes ldc2-unittest use it too again.

…mpiler and manual linking

Under these circumstances, the `-link-debuglib` had no effect after ldc-developers#3575,
so that the D executables were linked against *release* host druntime/
Phobos.

Add the flag to DFLAGS_BASE instead, which is used by
ExtractDMDSystemLinker.cmake and makes ldc2-unittest use it too again.
@kinke kinke merged commit cad7f73 into ldc-developers:master Oct 24, 2020
@kinke kinke deleted the fixCmake branch October 24, 2020 17:05
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant