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 = '' preConfigure = ''
sed -i Makefile -e 's|^OBJS=|OBJS=$(EXTRA_OBJS) |' sed -i Makefile -e 's|^OBJS=|OBJS=$(EXTRA_OBJS) |'
makeFlags+=("CC=$CC") makeFlagsArray+=("CC=$CC")
''; '';
makeFlags = [ makeFlags = [