mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
musl: convert CFLAGS to array
This commit is contained in:
parent
3961cab52f
commit
ea326dd4b5
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue