meson: Drop adding -Wl,--gc-sections to project c/cpp arguments.
authorEric Anholt <eric@anholt.net>
Wed, 9 Sep 2020 23:43:02 +0000 (16:43 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 14 Oct 2020 16:54:59 +0000 (16:54 +0000)
commitf51ce21e4e0bf7efabe58afb4a2cd6b9f98d9505
tree48c30447034e94beebb56f41b2df17e54c9c952c
parentd5a72319d6b8fa316608b5b93ac421f54716b674
meson: Drop adding -Wl,--gc-sections to project c/cpp arguments.

We already have the targets we care about doing this using
ld_args_gc_sections, and by adding it to project arguments we caused
warnings spam in the android clang build about the compile stage not using
the argument.

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6700>
meson.build