mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
devmem2: use $CC instead of cc to build
This commit is contained in:
parent
078687526e
commit
6a4364fdf1
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||
hardeningDisable = [ "format" ]; # fix compile error
|
||||
|
||||
buildCommand = ''
|
||||
cc "$src" -o devmem2
|
||||
$CC "$src" -o devmem2
|
||||
install -D devmem2 "$out/bin/devmem2"
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue