Merge pull request #64371 from mpickering/strip-ghc
ghc: Don't strip compilers
This commit is contained in:
commit
895fb1629d
@ -231,6 +231,10 @@ stdenv.mkDerivation (rec {
|
|||||||
# that in turn causes GHCi to abort
|
# that in turn causes GHCi to abort
|
||||||
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
|
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
|
||||||
|
|
||||||
|
# See #63511 - the only unstripped file is the debug rts which isn't meant to
|
||||||
|
# be stripped.
|
||||||
|
dontStrip = true;
|
||||||
|
|
||||||
checkTarget = "test";
|
checkTarget = "test";
|
||||||
doCheck = false; # fails with "testsuite/tests: No such file or directory. Stop."
|
doCheck = false; # fails with "testsuite/tests: No such file or directory. Stop."
|
||||||
|
|
||||||
|
@ -208,6 +208,10 @@ stdenv.mkDerivation (rec {
|
|||||||
# that in turn causes GHCi to abort
|
# that in turn causes GHCi to abort
|
||||||
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
|
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
|
||||||
|
|
||||||
|
# See #63511 - the only unstripped file is the debug rts which isn't meant to
|
||||||
|
# be stripped.
|
||||||
|
dontStrip = true;
|
||||||
|
|
||||||
checkTarget = "test";
|
checkTarget = "test";
|
||||||
|
|
||||||
hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
|
hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
|
||||||
|
@ -207,6 +207,10 @@ stdenv.mkDerivation (rec {
|
|||||||
# that in turn causes GHCi to abort
|
# that in turn causes GHCi to abort
|
||||||
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
|
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
|
||||||
|
|
||||||
|
# See #63511 - the only unstripped file is the debug rts which isn't meant to
|
||||||
|
# be stripped.
|
||||||
|
dontStrip = true;
|
||||||
|
|
||||||
checkTarget = "test";
|
checkTarget = "test";
|
||||||
|
|
||||||
hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
|
hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
|
||||||
|
@ -207,6 +207,10 @@ stdenv.mkDerivation (rec {
|
|||||||
# that in turn causes GHCi to abort
|
# that in turn causes GHCi to abort
|
||||||
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
|
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
|
||||||
|
|
||||||
|
# See #63511 - the only unstripped file is the debug rts which isn't meant to
|
||||||
|
# be stripped.
|
||||||
|
dontStrip = true;
|
||||||
|
|
||||||
checkTarget = "test";
|
checkTarget = "test";
|
||||||
|
|
||||||
hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
|
hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user