pass explicit host/build/target to gcc-apple and make symbolic link lib64 to lib/x86_64

svn path=/nixpkgs/branches/x86_64-darwin/; revision=18766
This commit is contained in:
Rob Vermaas 2009-12-02 17:01:52 +00:00
parent c33b2fd3f3
commit 02d15fbbdb

View File

@ -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