Skip to content

Commit

Permalink
godot3: disable PIE hardening
Browse files Browse the repository at this point in the history
  • Loading branch information
FliegendeWurst committed Jan 3, 2025
1 parent f28864e commit faf8424
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/tools/godot/3/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ stdenv.mkDerivation (self: {
zlib
];

# [Initial build] ld: /nix/store/*-gcc-14-20241116/lib/gcc/x86_64-unknown-linux-gnu/14.2.1/crtbegin.o:
# relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a PIE object
hardeningDisable = [ "pie" ];

shouldAddLinkFlagsToPulse = true;

patches = map (rp: ./patches + rp) [
Expand Down

0 comments on commit faf8424

Please sign in to comment.