gd: add --enable-gd-formats
fixes "GD Warning: GD2 image support has been disabled" for example in perl5Packages.GD
This commit is contained in:
@@ -32,8 +32,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
# -pthread gets passed to clang, causing warnings
|
||||
configureFlags = lib.optional stdenv.isDarwin "--enable-werror=no";
|
||||
configureFlags =
|
||||
[
|
||||
"--enable-gd-formats"
|
||||
]
|
||||
# -pthread gets passed to clang, causing warnings
|
||||
++ lib.optional stdenv.isDarwin "--enable-werror=no";
|
||||
|
||||
nativeBuildInputs = [ autoconf automake pkg-config ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user