Instead of overriding a whole rule and invoking $(LINK.c) explicitly for certain targets (in order to append special compilation flags), set CFLAGS and LDLIBS as target-specific variables on those targets.
* Makefile (plugins.d/mandos-client): Replace with a target-specific variable setting. (plugin-helpers/mandos-client-iprouteadddel): - ''- (dracut-module/password-agent): - '' -