Revert "mactop: fix build on Darwin"
The ld64 issue has been fixed.
This reverts commit c0984aabed.
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
llvmPackages,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
@@ -22,14 +21,6 @@ buildGoModule rec {
|
||||
|
||||
proxyVendor = true;
|
||||
|
||||
nativeBuildInputs = [ llvmPackages.lld ];
|
||||
|
||||
env = {
|
||||
# Work around ld64's libc++ hardening issue.
|
||||
# TODO: Remove once #536365 reaches this branch.
|
||||
NIX_CFLAGS_LINK = "-fuse-ld=lld";
|
||||
};
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
|
||||
Reference in New Issue
Block a user