Add -fPIC to EQL CFLAGS as recommended by ld on amd64

svn path=/nixpkgs/trunk/; revision=23901
This commit is contained in:
Michael Raskin 2010-09-22 18:25:39 +00:00
parent 58c09d0ff2
commit 3daed8602e

View File

@ -29,7 +29,11 @@ rec {
inherit (sourceInfo) name version;
inherit buildInputs;
phaseNames = ["fixPaths" "buildEQLLib" "doQMake" "doMake" "buildLibEQL" "doDeploy"];
phaseNames = ["setVars" "fixPaths" "buildEQLLib" "doQMake" "doMake" "buildLibEQL" "doDeploy"];
setVars = a.fullDepEntry (''
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -fPIC"
'') [];
fixPaths = a.fullDepEntry (''
sed -re 's@[(]in-home "gui/.command-history"[)]@(concatenate '"'"'string (ext:getenv "HOME") "/.eql-gui-command-history")@' -i gui/gui.lisp