Trying to get freecad work on i686-linux too.
svn path=/nixpkgs/trunk/; revision=26170
This commit is contained in:
parent
69a67fc7cf
commit
874af6794d
@ -23,9 +23,9 @@ stdenv.mkDerivation rec {
|
|||||||
# this for freecad to build
|
# this for freecad to build
|
||||||
NIX_CFLAGS_COMPILE = "-DBOOST_FILESYSTEM_VERSION=2";
|
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 = ''
|
preBuild = ''
|
||||||
export NIX_LDFLAGS="-L${gfortran.gcc}/lib64 $NIX_LDFLAGS";
|
export NIX_LDFLAGS="-L${gfortran.gcc}/lib64 -L${gfortran.gcc}/lib $NIX_LDFLAGS";
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user