mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
openbsd: Remove STRIP
hack
This is just a FreeBSD thing, not OpenBSD or NetBSD thing.
This commit is contained in:
parent
b98dc9f0ef
commit
716d8a752a
@ -73,7 +73,6 @@ mkDerivation {
|
||||
) "--undefined-version";
|
||||
|
||||
makeFlags = [
|
||||
"STRIP=-s" # flag to install, not command
|
||||
"COMPILER_VERSION=clang"
|
||||
"LIBC_TAGS=no"
|
||||
];
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user