Also if it's not supported, a package breaking on --as-needed flag usually means that there's something wrong in the build process or in the code. In this case, ghostscript-gnu fails quite immediately with an error during linking of bin/gs . The problem is that -lcups and -lcupsimage are added by the ebuild to the Makefile via LDFLAGS, but LDFLAGS are put at the start of the linker's commandline, while libraries should be specified at the end. The solution is to add those to EXTRALIBS that's there just for that reason. The simple attached patch fixes the problem and allows ghostscript-gnu to be merged fine. HTH, Diego
Created attachment 64939 [details, diff] Ebuild patch
thanks, fixed