Use CC and full command line instead of hard-coding gcc for AVX512 checking
authorEgbert Eich <eich@suse.com>
Mon, 28 Mar 2022 06:14:52 +0000 (08:14 +0200)
committerEgbert Eich <eich@suse.com>
Mon, 28 Mar 2022 06:22:07 +0000 (08:22 +0200)
commit0b69fa6ddf7fc6d92bc42ef085f39337a4489f3c
tree6bd9835de23102607f4f734fd49fc5aab3d61d38
parent34ecd967a54f71cb10fb07bf321b2a7597db9d26
Use CC and full command line instead of hard-coding gcc for AVX512 checking

Hard-coding gcc may not provide incorrect results when a different compiler
for the target build is used. To remain in sync with the main call to c_check,
pass the full command line.

Signed-off-by: Egbert Eich <eich@suse.com>
Makefile.prebuild