From 937f472e92ac60d2a7e155ef61c7f86eb7b4ef2b Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 9 Jul 2023 13:27:57 -0600 Subject: [PATCH] Revert "gcc: fix build on x86_64-darwin" This reverts commit b39481bc09a6bede802f0bb7b805694ea9cf7f2d. --- pkgs/development/compilers/gcc/common/configure-flags.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/development/compilers/gcc/common/configure-flags.nix b/pkgs/development/compilers/gcc/common/configure-flags.nix index accd08088c28..aa8ecc62e55a 100644 --- a/pkgs/development/compilers/gcc/common/configure-flags.nix +++ b/pkgs/development/compilers/gcc/common/configure-flags.nix @@ -244,11 +244,6 @@ let ++ lib.optionals (langD) [ "--with-target-system-zlib=yes" ] - # Clang 11 performs an optimization on x86_64 that is sensitive to the presence of debug info. - # This causes GCC to fail to bootstrap due to object file differences between stages 2 and 3. - ++ lib.optionals (targetPlatform.isDarwin && targetPlatform.isx86_64) [ - "--with-as=${targetPackages.darwin.cctools-port}/bin/${targetPrefix}as" - ] ; in configureFlags