about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2024-06-20 15:26:55 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2024-06-29 12:48:29 -0400
commit716d8a752a886019f32b6783b54666a55656ffda (patch)
tree6e9a38ae087688c82f8af9813d4eccdf2d2830dd
parentb98dc9f0efff5667debcf1f7d1b655268c27b8db (diff)
openbsd: Remove `STRIP` hack
This is just a FreeBSD thing, not OpenBSD or NetBSD thing.
-rw-r--r--pkgs/os-specific/bsd/openbsd/pkgs/libc/package.nix1
-rw-r--r--pkgs/os-specific/bsd/openbsd/pkgs/mkDerivation.nix4
2 files changed, 0 insertions, 5 deletions
diff --git a/pkgs/os-specific/bsd/openbsd/pkgs/libc/package.nix b/pkgs/os-specific/bsd/openbsd/pkgs/libc/package.nix
index 1a6b6d06a1936..5ad6bb2edaa62 100644
--- a/pkgs/os-specific/bsd/openbsd/pkgs/libc/package.nix
+++ b/pkgs/os-specific/bsd/openbsd/pkgs/libc/package.nix
@@ -73,7 +73,6 @@ mkDerivation {
   ) "--undefined-version";
 
   makeFlags = [
-    "STRIP=-s" # flag to install, not command
     "COMPILER_VERSION=clang"
     "LIBC_TAGS=no"
   ];
diff --git a/pkgs/os-specific/bsd/openbsd/pkgs/mkDerivation.nix b/pkgs/os-specific/bsd/openbsd/pkgs/mkDerivation.nix
index 371c6c58b91fb..252854c2d93af 100644
--- a/pkgs/os-specific/bsd/openbsd/pkgs/mkDerivation.nix
+++ b/pkgs/os-specific/bsd/openbsd/pkgs/mkDerivation.nix
@@ -51,7 +51,6 @@ lib.makeOverridable (
       HOST_SH = stdenv'.shell;
 
       makeFlags = [
-        "STRIP=-s" # flag to install, not command
         "-B"
       ];
 
@@ -85,9 +84,6 @@ lib.makeOverridable (
     // lib.optionalAttrs stdenv'.hasCC {
       # TODO should CC wrapper set this?
       CPP = "${stdenv'.cc.targetPrefix}cpp";
-
-      # Since STRIP in `makeFlags` has to be a flag, not the binary itself
-      STRIPBIN = "${stdenv'.cc.bintools.targetPrefix}strip";
     }
     // lib.optionalAttrs (attrs.headersOnly or false) {
       installPhase = "includesPhase";