3
0
Fork 0
forked from mirrors/nixpkgs

prismlauncher: enable PIE

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-05-06 21:59:55 +02:00
parent b130e618d6
commit 26dda3c45e
No known key found for this signature in database
GPG key ID: E13DFD4B47127951

View file

@ -42,6 +42,8 @@ stdenv.mkDerivation rec {
tomlplusplus
] ++ lib.optional gamemodeSupport gamemode;
hardeningEnable = [ "pie" ];
cmakeFlags = lib.optionals (msaClientID != null) [ "-DLauncher_MSA_CLIENT_ID=${msaClientID}" ]
++ lib.optionals (lib.versionAtLeast qtbase.version "6") [ "-DLauncher_QT_VERSION_MAJOR=6" ];