Skip to content

Conversation

@mccarverone
Copy link

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.

build.log

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant