Browse files

pass explicit host/build/target to gcc-apple and make symbolic link l…

…ib64 to lib/x86_64

svn path=/nixpkgs/branches/x86_64-darwin/; revision=18766
  • Loading branch information...
1 parent c33b2fd commit 02d15fbbdbf765ea18c0ca67a15b065a1273a08f @rbvermaa rbvermaa committed Dec 2, 2009
Showing with 3 additions and 1 deletion.
  1. +3 −1 pkgs/development/compilers/gcc-apple64/builder.sh
View
4 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

0 comments on commit 02d15fb

Please sign in to comment.