This is my LDFLAGS variable: ago@willoughby ~ $ emerge --info | grep LDFLAGS LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-z,lazy" If I want to add something temporary I use LDFLAGS="${LDFLAGS} foo" emerge bar which give the result: ago@willoughby ~ $ LDFLAGS="${LDFLAGS} foo" emerge --info | grep LDFLAGS LDFLAGS=" foo" In the past it worked so I had my LDFLAGS plus foo. Is this change intentional?
(In reply to Agostino Sarubbo from comment #0) > ago@willoughby ~ $ LDFLAGS="${LDFLAGS} foo" emerge --info The LDFLAGS="${LDFLAGS} foo" substitution is not done by emerge - it's done by your shell before it spawns emerge. So this only works if you export your LDFLAGS in bashrc or profile or env.d or manually in the current shell process. Emerge has nothing to do with it.