devmem2: use $CC instead of cc to build

This commit is contained in:
Michael Eden 2019-03-16 11:44:01 -04:00 committed by Bjørn Forsman
parent 078687526e
commit 6a4364fdf1

View file

@ -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"
''; '';