diff --git a/x11/misc/opencl-icd/actions.py b/x11/misc/opencl-icd/actions.py index 0b0a103d02..8b5e07e816 100755 --- a/x11/misc/opencl-icd/actions.py +++ b/x11/misc/opencl-icd/actions.py @@ -14,13 +14,16 @@ def setup(): pisitools.insinto("/usr/include/CL", "OpenCL-Headers-2020.12.18/CL/*") shelltools.export("CFLAGS", "-I%s/usr/include -O2") shelltools.export("CXXFLAGS", "-I%s/usr/include -O2") - + pisitools.cflags.add("-fcommon") autotools.autoreconf("-vfi") autotools.configure() def build(): autotools.make() + +def check(): + autotools.make("check") def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR())