vaapi-intel-hybrid: add -fcommon workaround

This commit is contained in:
Patrick Jackson 2022-06-02 13:09:33 -07:00
parent b6aa2dfb84
commit e9774b7d82

View file

@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
version = "1.0.2";
src = fetchFromGitHub {
owner = "01org";
owner = "intel";
repo = "intel-hybrid-driver";
rev = version;
sha256 = "sha256-uYX7RoU1XVzcC2ea3z/VBjmT47xmzK67Y4LaiFXyJZ8=";
@ -25,6 +25,9 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
# Workaround build failure on -fno-common toolchains like upstream gcc-10.
NIX_CFLAGS_COMPILE = "-fcommon";
configureFlags = [
"--enable-drm"
"--enable-x11"