Skip to content
New issue

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

dev-util/dub::dlang: requires NOCADD=1 #857

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
dev-util/dub::dlang: requires NOCADD=1
dev-util/dub is from dlang overlay. It takes NOCADD=1 otherwise portage-bashrc-mv fills up LDFLAGS with CFLAGS that spill over to D compiler and break the build.

From portage-bashrc-mv docs:

NOCADD
	If this variable is false and some of CFLAGS, CXXFLAGS, or LDFLAGS
	contains -flto* then the CFLAGS and CXXFLAGS variables finally
	calculated will be added to the LDFLAGS.
  • Loading branch information
mccarverone committed Sep 11, 2022
commit 1465d31dd060fd29bccf75f73ce00faf43bfc850
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# BEGIN: portage-bashrc-mv remove-la workarounds
dev-util/colm NOLAFILEREMOVE=true # See issue 690 and https://bugs.gentoo.org/766210
dev-util/dub::dlang NOCADD=1 # Required to avoid tainting LDFLAGS and breaking D compiler. See portage-bashrc-mv docs.
# END: portage-bashrc-mv remove-la workarounds