remove local pic flags, now set by hardened stdenv

This commit is contained in:
Robin Gloster
2016-01-28 01:46:59 +00:00
parent 8329066d5e
commit acb408646e
15 changed files with 3 additions and 32 deletions

View File

@@ -1,6 +1,5 @@
{ fetchurl, stdenv, mesa, freeglut, SDL
, libXi, libSM, libXmu, libXext, libX11,
enablePIC ? false }:
, libXi, libSM, libXmu, libXext, libX11 }:
stdenv.mkDerivation rec {
name = "plib-1.8.5";
@@ -13,8 +12,6 @@ stdenv.mkDerivation rec {
patches = [ ./CVE-2012-4552.patch ];
NIX_CFLAGS_COMPILE = if enablePIC then "-fPIC" else "";
propagatedBuildInputs = [
mesa freeglut SDL