tree: fix cross-compile

Should be makeFlagsArray not makeFlags
This commit is contained in:
Maciej Krüger 2021-11-13 19:31:08 +01:00
parent e29d818477
commit bbc5688e8f
No known key found for this signature in database
GPG key ID: 0D948CE19CF49C5F

View file

@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
preConfigure = ''
sed -i Makefile -e 's|^OBJS=|OBJS=$(EXTRA_OBJS) |'
makeFlags+=("CC=$CC")
makeFlagsArray+=("CC=$CC")
'';
makeFlags = [