Trying to make gcc 4.5 cross-buildable

svn path=/nixpkgs/branches/stdenv-updates/; revision=22848
This commit is contained in:
Lluís Batlle i Rossell
2010-08-01 21:21:26 +00:00
parent 2954596106
commit da3ba13fb5
8 changed files with 114 additions and 20 deletions
@@ -42,6 +42,10 @@ stdenv.mkDerivation {
-e 's@.*UCLIBC_HAS_RPC.*@UCLIBC_HAS_RPC=y@' \
-e 's@.*DO_C99_MATH.*@DO_C99_MATH=y@' \
-e 's@.*UCLIBC_HAS_PROGRAM_INVOCATION_NAME.*@UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y@' \
-e 's@.*CONFIG_MIPS_ISA_1.*@#CONFIG_MIPS_ISA_1=y@' \
-e 's@.*CONFIG_MIPS_ISA_3.*@CONFIG_MIPS_ISA_3=y@' \
-e 's@.*CONFIG_MIPS_O32_ABI.*@#CONFIG_MIPS_O32_ABI=y@' \
-e 's@.*CONFIG_MIPS_N32_ABI.*@CONFIG_MIPS_N32_ABI=y@' \
${configArmEABI} \
${configBigEndian} \
-i .config