treewide: Remove unnecessary --disable-static
(#66759)
* freetype: Remove unnecessary `--disable-static`. The true-by-default `dontDisableStatic` already takes care of it. Fixes freetype not being overridable to have static libs. * treewide: Remove unnecessary `--disable-static`. The true-by-default `dontDisableStatic` already takes care of it. Fixes these packages not being overridable to have static libs.
This commit is contained in:
parent
98662eba0e
commit
9e78f76ade
@ -61,7 +61,6 @@ stdenv.mkDerivation rec {
|
||||
"--localstatedir=/var"
|
||||
"--sysconfdir=/etc"
|
||||
"--disable-tests"
|
||||
"--disable-static"
|
||||
"--disable-dmrc"
|
||||
] ++ optional withQt4 "--enable-liblightdm-qt"
|
||||
++ optional withQt5 "--enable-liblightdm-qt5";
|
||||
|
@ -82,7 +82,6 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--disable-static"
|
||||
"--disable-staticbins"
|
||||
];
|
||||
|
||||
|
@ -20,7 +20,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags = [
|
||||
"--prefix=$(out)"
|
||||
"--disable-static"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
|
@ -58,7 +58,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags = [
|
||||
"--with-x"
|
||||
"--disable-static"
|
||||
"--enable-shape"
|
||||
"--enable-sm"
|
||||
"--enable-startup-notification"
|
||||
|
@ -37,7 +37,6 @@ stdenv.mkDerivation {
|
||||
|
||||
configureFlags =
|
||||
[ "--enable-shared"
|
||||
"--disable-static"
|
||||
"--enable-fortran"
|
||||
"--enable-optimize"
|
||||
"--with-pic=yes"
|
||||
|
@ -272,7 +272,7 @@ stdenv.mkDerivation rec {
|
||||
* Build flags
|
||||
*/
|
||||
# On some ARM platforms --enable-thumb
|
||||
"--enable-shared --disable-static"
|
||||
"--enable-shared"
|
||||
(enableFeature true "pic")
|
||||
(if stdenv.cc.isClang then "--cc=clang" else null)
|
||||
(enableFeature smallBuild "small")
|
||||
|
@ -89,7 +89,6 @@ stdenv.mkDerivation rec {
|
||||
"--enable-version3"
|
||||
# Build flags
|
||||
"--enable-shared"
|
||||
"--disable-static"
|
||||
(ifMinVer "0.6" "--enable-pic")
|
||||
(enableFeature runtimeCpuDetectBuild "runtime-cpudetect")
|
||||
"--enable-hardcoded-tables"
|
||||
|
@ -25,7 +25,7 @@ stdenv.mkDerivation {
|
||||
outputBin = "dev"; # fftw-wisdom
|
||||
|
||||
configureFlags =
|
||||
[ "--enable-shared" "--disable-static"
|
||||
[ "--enable-shared"
|
||||
"--enable-threads"
|
||||
]
|
||||
++ optional (precision != "double") "--enable-${precision}"
|
||||
|
@ -50,7 +50,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
configureFlags = [ "--disable-static" "--bindir=$(dev)/bin" "--enable-freetype-config" ];
|
||||
configureFlags = [ "--bindir=$(dev)/bin" "--enable-freetype-config" ];
|
||||
|
||||
# native compiler to generate building tool
|
||||
CC_BUILD = "${buildPackages.stdenv.cc}/bin/cc";
|
||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
configureFlags = [ "--disable-static" "--enable-shared" ];
|
||||
configureFlags = [ "--enable-shared" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://www.openprinting.org/download/ijs/;
|
||||
|
@ -25,7 +25,6 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--disable-static"
|
||||
# "--enable-gtk-doc"
|
||||
"--enable-man"
|
||||
"--enable-valgrind-tests"
|
||||
|
@ -19,10 +19,6 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ readline texinfo ];
|
||||
propagatedBuildInputs = [ gdbm gmp libffi ];
|
||||
|
||||
configureFlags = [
|
||||
"--disable-static"
|
||||
];
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
meta = {
|
||||
|
@ -48,7 +48,6 @@ stdenv.mkDerivation {
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--disable-static"
|
||||
"--with-pygi-overrides-dir=${placeholder ''py''}/${python3.sitePackages}/gi/overrides"
|
||||
];
|
||||
|
||||
|
@ -114,7 +114,7 @@ stdenv.mkDerivation rec {
|
||||
(if isDarwin || isCygwin then
|
||||
"--enable-static --disable-shared"
|
||||
else
|
||||
"--disable-static --enable-shared")
|
||||
"--enable-shared")
|
||||
(enableFeature smallSupport "small")
|
||||
(enableFeature postprocVisualizerSupport "postproc-visualizer")
|
||||
(enableFeature unitTestsSupport "unit-tests")
|
||||
|
@ -30,7 +30,6 @@ stdenv.mkDerivation rec {
|
||||
++ optional imwriSupport imagemagick7;
|
||||
|
||||
configureFlags = [
|
||||
"--disable-static"
|
||||
(optionalString (!ocrSupport) "--disable-ocr")
|
||||
(optionalString (!imwriSupport) "--disable-imwri")
|
||||
];
|
||||
|
@ -13,7 +13,6 @@ stdenv.mkDerivation rec {
|
||||
"--with-openssl"
|
||||
"--with-xerces"
|
||||
"--with-xalan"
|
||||
"--disable-static"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
@ -243,7 +243,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
patchFlags = "-p0";
|
||||
|
||||
configureFlags = [ "--disable-static" "--enable-dependency-reduction" "--disable-frontend"];
|
||||
configureFlags = [ "--enable-dependency-reduction" "--disable-frontend"];
|
||||
|
||||
postConfigure = ''
|
||||
echo '#define NIX_ESCI_PREFIX "'${fwdir}'"' >> config.h
|
||||
|
@ -51,7 +51,6 @@ stdenv.mkDerivation rec {
|
||||
configureFlags =
|
||||
[ "--with-serivec-port=${builtins.toString port}"
|
||||
"--with-service-name=${serviceName}"
|
||||
# "--disable-static"
|
||||
"--with-system-editline"
|
||||
"--with-fblog=/var/log/firebird"
|
||||
"--with-fbconf=/etc/firebird"
|
||||
|
@ -15,7 +15,6 @@ stdenv.mkDerivation rec {
|
||||
configureFlags = [
|
||||
"--enable-library"
|
||||
"--enable-fuse"
|
||||
"--disable-static"
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
@ -19,7 +19,6 @@ stdenv.mkDerivation {
|
||||
configureFlags = [
|
||||
"--enable-dns"
|
||||
"--enable-geoip"
|
||||
"--disable-static"
|
||||
"--enable-shared"
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user