From c930debb54a39d5a56c6e3620eb9cd90807abee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 17 Jun 2010 21:23:22 +0000 Subject: [PATCH] GCC 4.5: Remove unnecessary `configure' flags. The `--enable-lto' and `--enable-plugin' flags are automatically implied when all their prerequisites are satisfied. However, passing them explicitly breaks cases where some of the prerequisites are not met, such as static (`--without-headers') cross-compilers. svn path=/nixpkgs/trunk/; revision=22316 --- pkgs/development/compilers/gcc-4.5/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/compilers/gcc-4.5/default.nix b/pkgs/development/compilers/gcc-4.5/default.nix index 0544458dfc0e..1dcae1f2b69e 100644 --- a/pkgs/development/compilers/gcc-4.5/default.nix +++ b/pkgs/development/compilers/gcc-4.5/default.nix @@ -204,8 +204,6 @@ stdenv.mkDerivation ({ --disable-libstdcxx-pch --without-included-gettext --with-system-zlib - --enable-lto - --enable-plugin --enable-languages=${ concatStrings (intersperse "," ( optional langC "c"