clover: Disallow creating libraries from other libraries
authorPierre Moreau <pierre.morrow@free.fr>
Sat, 27 Jan 2018 17:25:31 +0000 (18:25 +0100)
committerKarol Herbst <kherbst@redhat.com>
Tue, 26 Feb 2019 20:02:07 +0000 (21:02 +0100)
commitfccc6ecb52ffe9fc35ddf711f0bd8d4be225ca20
treee3662bab896fe805dcab313dfd39b59d15247891
parentbad161c8948649eabf29cfedb1cad4247c884616
clover: Disallow creating libraries from other libraries

If creating a library, do not allow non-compiled object in it, as
executables are not allowed, and libraries would make it really hard to
enforce the "-enable-link-options" flag.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Aaron Watry <awatry@gmail.com>
src/gallium/state_trackers/clover/api/program.cpp