Merge pull request #154016 from diogox/master

jetbrains.goland: Fix debugging
This commit is contained in:
Jörg Thalheim 2022-01-10 00:30:58 +00:00 committed by GitHub
commit ba31553691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,8 +93,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"
'';
});