Skip to content

Commit 6b93024

Browse files
FliegendeWurstbjornfor
authored andcommitted
sdcc: disable PIE hardening per upstream
1 parent 8da7304 commit 6b93024

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkgs/by-name/sd/sdcc/package.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ stdenv.mkDerivation (finalAttrs: {
8080
fi
8181
'';
8282

83+
# ${src}/support/cpp/gcc/Makefile.in states:
84+
# We don't want to compile the compilers with -fPIE, it make PCH fail.
85+
hardeningDisable = [ "pie" ];
86+
8387
meta = {
8488
homepage = "https://sdcc.sourceforge.net/";
8589
description = "Small Device C Compiler";

0 commit comments

Comments
 (0)