wayland-bongocat: use stdenv CC instead of forcing CC = gcc
notably, this fixes cross compilation (in which `CC` is flavored, like `aarch64-linux-gnu-gcc`).
This commit is contained in:
@@ -34,6 +34,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"release"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace-fail 'CC = gcc' 'CC ?= gcc'
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
|
||||
Reference in New Issue
Block a user