Merge pull request #129577 from Mindavi/dwm/cross
dwm: support cross-compilation by setting proper CC
This commit is contained in:
commit
2d8e3aa288
|
@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
|
||||||
in
|
in
|
||||||
lib.optionalString (conf != null) "cp ${configFile} config.def.h";
|
lib.optionalString (conf != null) "cp ${configFile} config.def.h";
|
||||||
|
|
||||||
|
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://dwm.suckless.org/";
|
homepage = "https://dwm.suckless.org/";
|
||||||
description = "An extremely fast, small, and dynamic window manager for X";
|
description = "An extremely fast, small, and dynamic window manager for X";
|
||||||
|
|
Loading…
Reference in a new issue