From 27e8d31b1afba4aa9deca84948def09971c3574c Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Sun, 21 Feb 2016 10:53:04 +0000 Subject: [PATCH] torcs: turn off format hardening and remove obsolete flag --- pkgs/games/torcs/default.nix | 2 ++ pkgs/top-level/all-packages.nix | 6 +----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/games/torcs/default.nix b/pkgs/games/torcs/default.nix index e6370d6e7c6..fd320a32180 100644 --- a/pkgs/games/torcs/default.nix +++ b/pkgs/games/torcs/default.nix @@ -21,6 +21,8 @@ stdenv.mkDerivation rec { installTargets = "install datainstall"; + hardening_format = false; + meta = { description = "Car racing game"; homepage = http://torcs.sourceforge.net/; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 65789fd040d..9a35d98bef3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14582,11 +14582,7 @@ let libpng = libpng12; }; - torcs = callPackage ../games/torcs { - # Torcs wants to make shared libraries linked with plib libraries (it provides static). - # i686 is the only platform I know than can do that linking without plib built with -fPIC - plib = plib.override { enablePIC = !stdenv.isi686; }; - }; + torcs = callPackage ../games/torcs { }; trigger = callPackage ../games/trigger { };