diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2011-03-05 22:27:55 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2011-03-05 22:27:55 +0000 |
commit | 874af6794d72e31629e592549fcddc6d5531ac52 (patch) | |
tree | c1e4c98d41bfd5319ee9b94a622ac52e78f4b72e /pkgs/applications/graphics/freecad | |
parent | 69a67fc7cfc8dc12503e84f0fa490a096afe7436 (diff) | |
download | nixpkgs-874af6794d72e31629e592549fcddc6d5531ac52.tar nixpkgs-874af6794d72e31629e592549fcddc6d5531ac52.tar.gz nixpkgs-874af6794d72e31629e592549fcddc6d5531ac52.tar.bz2 nixpkgs-874af6794d72e31629e592549fcddc6d5531ac52.tar.lz nixpkgs-874af6794d72e31629e592549fcddc6d5531ac52.tar.xz nixpkgs-874af6794d72e31629e592549fcddc6d5531ac52.tar.zst nixpkgs-874af6794d72e31629e592549fcddc6d5531ac52.zip |
Trying to get freecad work on i686-linux too.
svn path=/nixpkgs/trunk/; revision=26170
Diffstat (limited to 'pkgs/applications/graphics/freecad')
-rw-r--r-- | pkgs/applications/graphics/freecad/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/freecad/default.nix b/pkgs/applications/graphics/freecad/default.nix index e222af4f0e7..1b0955edfaa 100644 --- a/pkgs/applications/graphics/freecad/default.nix +++ b/pkgs/applications/graphics/freecad/default.nix @@ -23,9 +23,9 @@ stdenv.mkDerivation rec { # this for freecad to build NIX_CFLAGS_COMPILE = "-DBOOST_FILESYSTEM_VERSION=2"; - # This will help only x86_64, but will not hurt on others. + # This should work on both x86_64, and i686 linux preBuild = '' - export NIX_LDFLAGS="-L${gfortran.gcc}/lib64 $NIX_LDFLAGS"; + export NIX_LDFLAGS="-L${gfortran.gcc}/lib64 -L${gfortran.gcc}/lib $NIX_LDFLAGS"; ''; postInstall = '' |