gentooLTO icon indicating copy to clipboard operation
gentooLTO copied to clipboard

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

Open mccarverone opened this issue 2 years ago • 0 comments

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

mccarverone avatar Sep 11 '22 20:09 mccarverone