vaapi-intel-hybrid: add -fcommon workaround
This commit is contained in:
parent
b6aa2dfb84
commit
e9774b7d82
1 changed files with 4 additions and 1 deletions
|
@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
||||||
version = "1.0.2";
|
version = "1.0.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "01org";
|
owner = "intel";
|
||||||
repo = "intel-hybrid-driver";
|
repo = "intel-hybrid-driver";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-uYX7RoU1XVzcC2ea3z/VBjmT47xmzK67Y4LaiFXyJZ8=";
|
sha256 = "sha256-uYX7RoU1XVzcC2ea3z/VBjmT47xmzK67Y4LaiFXyJZ8=";
|
||||||
|
@ -25,6 +25,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
# Workaround build failure on -fno-common toolchains like upstream gcc-10.
|
||||||
|
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-drm"
|
"--enable-drm"
|
||||||
"--enable-x11"
|
"--enable-x11"
|
||||||
|
|
Loading…
Reference in a new issue