Author: viric
Date: Sat Mar 5 22:27:55 2011
New Revision: 26170
URL: https://svn.nixos.org/websvn/nix/?rev=26170&sc=1
Log:
Trying to get freecad work on i686-linux too.
Modified:
nixpkgs/trunk/pkgs/applications/graphics/freecad/default.nix
Modified: nixpkgs/trunk/pkgs/applications/graphics/freecad/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/applications/graphics/freecad/default.nix Sat Mar
5 22:27:51 2011 (r26169)
+++ nixpkgs/trunk/pkgs/applications/graphics/freecad/default.nix Sat Mar
5 22:27:55 2011 (r26170)
@@ -23,9 +23,9 @@
# 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 = ''
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits