devmem2: use $CC instead of cc to build
This commit is contained in:
parent
078687526e
commit
6a4364fdf1
@ -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 New Issue
Block a user