mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 11:20:10 +00:00
Merge pull request #154210 from NixOS/backport-154016-to-release-21.11
[Backport release-21.11] jetbrains.goland: Fix debugging
This commit is contained in:
@@ -92,8 +92,8 @@ let
|
||||
chmod +x $out/goland*/plugins/go/lib/dlv/linux/dlv
|
||||
|
||||
# fortify source breaks build since delve compiles with -O0
|
||||
wrapProgram $out/goland*/plugins/go/lib/dlv/linux/dlv \
|
||||
--prefix disableHardening " " fortify
|
||||
wrapProgram $out/bin/goland \
|
||||
--prefix CGO_CPPFLAGS " " "-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
|
||||
'';
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user