musl: convert CFLAGS to array

This commit is contained in:
Will Dietz 2018-09-18 17:03:57 -05:00
parent 3961cab52f
commit ea326dd4b5

View file

@ -61,7 +61,8 @@ stdenv.mkDerivation rec {
configureFlagsArray+=("--syslibdir=$out/lib")
'';
CFLAGS="-fstack-protector-strong" + lib.optionalString stdenv.hostPlatform.isPower " -mlong-double-64";
CFLAGS = [ "-fstack-protector-strong" ]
++ lib.optional stdenv.hostPlatform.isPower "-mlong-double-64";
configureFlags = [
"--enable-shared"