diff options
author | Rob Vermaas | 2009-12-02 17:01:52 +0000 |
---|---|---|
committer | Rob Vermaas | 2009-12-02 17:01:52 +0000 |
commit | 02d15fbbdbf765ea18c0ca67a15b065a1273a08f (patch) | |
tree | b8ce852172b385cd342c52193dcd0f1a3a61e0b2 | |
parent | c33b2fd3f32ba2919b9905d43c65c24271176b6a (diff) |
pass explicit host/build/target to gcc-apple and make symbolic link lib64 to lib/x86_64 backups/x86_64-darwin@34171
svn path=/nixpkgs/branches/x86_64-darwin/; revision=18766
-rw-r--r-- | pkgs/development/compilers/gcc-apple64/builder.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/compilers/gcc-apple64/builder.sh b/pkgs/development/compilers/gcc-apple64/builder.sh index cb7c0901eb51..ce0baa1597a8 100644 --- a/pkgs/development/compilers/gcc-apple64/builder.sh +++ b/pkgs/development/compilers/gcc-apple64/builder.sh @@ -67,7 +67,7 @@ preConfigure() { cd ../build configureScript=../$sourceRoot/configure - configureFlags="--enable-languages=$langs --disable-libstdcxx-pch --disable-libstdcxx-debug --disable-multilib --with-gxx-include-dir=${STDCXX_INCDIR}" + configureFlags="--enable-languages=$langs --disable-libstdcxx-pch --disable-libstdcxx-debug --disable-multilib --with-gxx-include-dir=${STDCXX_INCDIR} --host=x86_64-apple-darwin10 --build=x86_64-apple-darwin10 --target=x86_64-apple-darwin10" } @@ -123,3 +123,5 @@ patchPhase() { } genericBuild + +ln -s $out/lib/x86_64 $out/lib64 |