https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119396
--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- What I have already tried is to set SHLIB_LINK := in t-avr, which should imply enable_shared=no. But it had no effect. Also I don't know where SHLIB_LINK should be set. In the top-level configure.ac ? (C++ shared libs also wouln't make sense since there isn't even a dynamic linker for avr).