dev-libs/opencl-icd-loader: build with -fno-common / gcc-10
authorMarek Szuba <marecki@gentoo.org>
Mon, 6 Apr 2020 22:22:31 +0000 (23:22 +0100)
committerMarek Szuba <marecki@gentoo.org>
Tue, 7 Apr 2020 09:08:13 +0000 (10:08 +0100)
commitad524a0e30e6a7841e75f0669d2fbc7cbd571c06
tree44ede7be3926da535e7a3c953405cc832b60b850
parenta0f2955ce40742819e2b63106f50a6d6c2d57bd8
dev-libs/opencl-icd-loader: build with -fno-common / gcc-10

Just force -fcommon in CFLAGS if tests are enabled (loader code hasn't
got any problems with -fno-common) until the next release, the problem has
already been fixed upstream but the patch is rather large.

Closes: https://bugs.gentoo.org/716410
Signed-off-by: Marek Szuba <marecki@gentoo.org>
dev-libs/opencl-icd-loader/opencl-icd-loader-2020.03.13.ebuild