Ninja: Fix LINK_WHAT_YOU_USE link flag placement
Move -Wl,--no-as-needed
from the <FLAGS>
placeholder to <LINK_FLAGS>
, as it is in the Makefile generators.
(Original description moved to #22342 (closed).)
Fixes: #22342 (closed)
Backport: release
Topic-rename: ninja-lwyu-flag-order
Edited by Brad King