3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #195923 from NickCao/tinywm-cross

tinywm: fix cross compilation
This commit is contained in:
Anderson Torres 2022-10-14 07:48:03 -03:00 committed by GitHub
commit 72e58a0d7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
dontConfigure = true;
buildPhase = ''
${stdenv.cc}/bin/cc -Wall -pedantic -I${libX11}/include tinywm.c -L${libX11}/lib -lX11 -o tinywm
$CC -Wall -pedantic -I${libX11}/include tinywm.c -L${libX11}/lib -lX11 -o tinywm
'';
installPhase = ''