Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/cmd/dlv/main.go b/cmd/dlv/main.go 2index 2207708e..a7e8a3c2 100644 3--- a/cmd/dlv/main.go 4+++ b/cmd/dlv/main.go 5@@ -21,6 +21,8 @@ func main() { 6 version.DelveVersion.Build = Build 7 } 8 9+ os.Setenv("disableHardening", "fortify "+os.Getenv("disableHardening")) 10+ 11 const cgoCflagsEnv = "CGO_CFLAGS" 12 if os.Getenv(cgoCflagsEnv) == "" { 13 os.Setenv(cgoCflagsEnv, "-O0 -g")