gd: add --enable-gd-formats

fixes "GD Warning: GD2 image support has been disabled"
for example in perl5Packages.GD
This commit is contained in:
Dmitry Kalinkin
2021-12-23 00:14:30 -05:00
parent 775f5098c7
commit 32fdd7a9fd
+6 -2
View File
@@ -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 ];