glibcextract.py: Add compile_c_snippet
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 10 Aug 2022 19:24:06 +0000 (16:24 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 12 Aug 2022 12:15:03 +0000 (09:15 -0300)
commit841afa116e32b3c7195475769c26bf46fd870d32
treee5688be76d22277af6b7d968edd88415a1573325
parent1c9bc1b6e50293a1b7037a7bfbf835868a55baed
glibcextract.py: Add compile_c_snippet

It might be used on tests to check if a snippet build with the provided
compiler and flags.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
scripts/glibcextract.py