Add whitelist of supported link flags
Merge pull request #2381 from rsturgell/whitelist_link_flags

Whitelist supported link flags