* m?-*pic (LIBCXXFLAGS): Add -fno-implicit-templates.
LIBCFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET) -fPIC
-LIBCXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET) -fPIC
+LIBCXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET) -fPIC -fno-implicit-templates
LIBCFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET) -fpic
-LIBCXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET) -fpic
+LIBCXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET) -fpic -fno-implicit-templates
LIBCFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET) -fpic
-LIBCXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET) -fpic
+LIBCXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET) -fpic -fno-implicit-templates