Skip to content

Commit 716d8a7

Browse files
committed
openbsd: Remove STRIP hack
This is just a FreeBSD thing, not OpenBSD or NetBSD thing.
1 parent b98dc9f commit 716d8a7

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

pkgs/os-specific/bsd/openbsd/pkgs/libc/package.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ mkDerivation {
7373
) "--undefined-version";
7474

7575
makeFlags = [
76-
"STRIP=-s" # flag to install, not command
7776
"COMPILER_VERSION=clang"
7877
"LIBC_TAGS=no"
7978
];

pkgs/os-specific/bsd/openbsd/pkgs/mkDerivation.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ lib.makeOverridable (
5151
HOST_SH = stdenv'.shell;
5252

5353
makeFlags = [
54-
"STRIP=-s" # flag to install, not command
5554
"-B"
5655
];
5756

@@ -85,9 +84,6 @@ lib.makeOverridable (
8584
// lib.optionalAttrs stdenv'.hasCC {
8685
# TODO should CC wrapper set this?
8786
CPP = "${stdenv'.cc.targetPrefix}cpp";
88-
89-
# Since STRIP in `makeFlags` has to be a flag, not the binary itself
90-
STRIPBIN = "${stdenv'.cc.bintools.targetPrefix}strip";
9187
}
9288
// lib.optionalAttrs (attrs.headersOnly or false) {
9389
installPhase = "includesPhase";

0 commit comments

Comments
 (0)