allow specifying link flags inline

Signed-off-by: Jan Dvořák <mordae@anilinux.org>