phpExtensions.bcmath: fix Darwin build by setting -std=gnu17
Refs: https://github.com/NixOS/nixpkgs/issues/511329
This commit is contained in:
@@ -417,7 +417,10 @@ lib.makeScope pkgs.newScope (
|
||||
#
|
||||
# These will be passed as arguments to mkExtension above.
|
||||
extensionData = [
|
||||
{ name = "bcmath"; }
|
||||
{
|
||||
name = "bcmath";
|
||||
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
|
||||
}
|
||||
{
|
||||
name = "bz2";
|
||||
buildInputs = [ bzip2 ];
|
||||
|
||||
Reference in New Issue
Block a user