summary refs log tree commit diff
diff options
context:
space:
mode:
authorArtturi <Artturin@artturin.com>2023-10-18 08:43:40 +0300
committerGitHub <noreply@github.com>2023-10-18 08:43:40 +0300
commit4a050e58da503910a83c53d7c1fe03efa3914f80 (patch)
treef374ced4da7bab5192e487b43620695e83fb3bf8
parentb2afa89d06f406afb742a5fc5a3d5c7fce3d2003 (diff)
parent3f6b4aa3659b9edd1af49305a1b0fdcf97c29ba4 (diff)
downloadnixpkgs-4a050e58da503910a83c53d7c1fe03efa3914f80.tar
nixpkgs-4a050e58da503910a83c53d7c1fe03efa3914f80.tar.gz
nixpkgs-4a050e58da503910a83c53d7c1fe03efa3914f80.tar.bz2
nixpkgs-4a050e58da503910a83c53d7c1fe03efa3914f80.tar.lz
nixpkgs-4a050e58da503910a83c53d7c1fe03efa3914f80.tar.xz
nixpkgs-4a050e58da503910a83c53d7c1fe03efa3914f80.tar.zst
nixpkgs-4a050e58da503910a83c53d7c1fe03efa3914f80.zip
Merge pull request #261751 from emilytrau/minimal-prune-deps
-rw-r--r--pkgs/os-specific/linux/minimal-bootstrap/gcc/8.nix5
-rw-r--r--pkgs/os-specific/linux/minimal-bootstrap/gcc/latest.nix5
2 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/os-specific/linux/minimal-bootstrap/gcc/8.nix b/pkgs/os-specific/linux/minimal-bootstrap/gcc/8.nix
index d6a6560e01e..ea9fdaf8854 100644
--- a/pkgs/os-specific/linux/minimal-bootstrap/gcc/8.nix
+++ b/pkgs/os-specific/linux/minimal-bootstrap/gcc/8.nix
@@ -130,11 +130,12 @@ bash.runCommand "${pname}-${version}" {
     --disable-libmpx \
     --disable-libsanitizer \
     --disable-lto \
-    --disable-multilib
+    --disable-multilib \
+    --disable-plugin
 
   # Build
   make -j $NIX_BUILD_CORES
 
   # Install
-  make -j $NIX_BUILD_CORES install
+  make -j $NIX_BUILD_CORES install-strip
 ''
diff --git a/pkgs/os-specific/linux/minimal-bootstrap/gcc/latest.nix b/pkgs/os-specific/linux/minimal-bootstrap/gcc/latest.nix
index f8a7d2126b8..fba3b731a00 100644
--- a/pkgs/os-specific/linux/minimal-bootstrap/gcc/latest.nix
+++ b/pkgs/os-specific/linux/minimal-bootstrap/gcc/latest.nix
@@ -126,11 +126,12 @@ bash.runCommand "${pname}-${version}" {
     --disable-bootstrap \
     --disable-libsanitizer \
     --disable-lto \
-    --disable-multilib
+    --disable-multilib \
+    --disable-plugin
 
   # Build
   make -j $NIX_BUILD_CORES
 
   # Install
-  make -j $NIX_BUILD_CORES install
+  make -j $NIX_BUILD_CORES install-strip
 ''