forked from mirrors/nixpkgs
Merge pull request #195923 from NickCao/tinywm-cross
tinywm: fix cross compilation
This commit is contained in:
commit
72e58a0d7d
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue