mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
nix: Disable deprecated PIE flags
Fixes the following warning with nixos-unstable (and upcoming 25.11)
evaluation warning: The 'pie' hardening flag has been removed in
favor of enabling PIE by default in compilers and should no longer
be used. PIE can be disabled with the -no-pie compiler flag, but
this is usually not necessary as most build systems pass this if
needed. Usage of the 'pie' hardening flag will become an error in
future.
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
8b4ad7aa49
commit
48c91c13ad
1 changed files with 0 additions and 2 deletions
|
|
@ -85,8 +85,6 @@ stdenv.mkDerivation {
|
|||
++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ]
|
||||
++ lib.optional gamemodeSupport gamemode;
|
||||
|
||||
hardeningEnable = lib.optionals stdenv.hostPlatform.isLinux [ "pie" ];
|
||||
|
||||
cmakeFlags = [
|
||||
# downstream branding
|
||||
(lib.cmakeFeature "Launcher_BUILD_PLATFORM" "nixpkgs")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue