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
|
hardeningDisable = [ "format" ]; # fix compile error
|
||||||
|
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
cc "$src" -o devmem2
|
$CC "$src" -o devmem2
|
||||||
install -D devmem2 "$out/bin/devmem2"
|
install -D devmem2 "$out/bin/devmem2"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user