mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
minimal-bootstrap.gcc-glibc: drop ISL, --disable-libstdcxx-{backtrace,filesystem-ts}
This commit is contained in:
parent
9ced5a330a
commit
0571f521a8
1 changed files with 4 additions and 9 deletions
|
|
@ -52,12 +52,6 @@ let
|
|||
url = "mirror://gnu/mpc/mpc-${mpcVersion}.tar.gz";
|
||||
hash = "sha256-q2QkkvXPiCt0qgy3MM1BCoHtzb7IlRg86TDnBsHHWbg=";
|
||||
};
|
||||
|
||||
islVersion = "0.24";
|
||||
isl = fetchurl {
|
||||
url = "https://gcc.gnu.org/pub/gcc/infrastructure/isl-${islVersion}.tar.bz2";
|
||||
hash = "sha256-/PeN2WVsEOuM+fvV9ZoLawE4YgX+GTSzsoegoYmBRcA=";
|
||||
};
|
||||
in
|
||||
bash.runCommand "${pname}-${version}"
|
||||
{
|
||||
|
|
@ -115,13 +109,11 @@ bash.runCommand "${pname}-${version}"
|
|||
tar xf ${gmp}
|
||||
tar xf ${mpfr}
|
||||
tar xf ${mpc}
|
||||
tar xf ${isl}
|
||||
cd gcc-${version}
|
||||
|
||||
ln -s ../gmp-${gmpVersion} gmp
|
||||
ln -s ../mpfr-${mpfrVersion} mpfr
|
||||
ln -s ../mpc-${mpcVersion} mpc
|
||||
ln -s ../isl-${islVersion} isl
|
||||
|
||||
# Configure
|
||||
export CC="gcc -Wl,-dynamic-linker -Wl,${musl}/lib/libc.so"
|
||||
|
|
@ -152,7 +144,10 @@ bash.runCommand "${pname}-${version}"
|
|||
--disable-multilib \
|
||||
--disable-nls \
|
||||
--disable-plugin \
|
||||
--with-specs="%x{-dynamic-linker=${glibc}/lib/${linkerName}} %x{-L${glibc}/lib/} -B${glibc}/lib"
|
||||
--with-specs="%x{-dynamic-linker=${glibc}/lib/${linkerName}} %x{-L${glibc}/lib/} -B${glibc}/lib" \
|
||||
--without-isl \
|
||||
--disable-libstdcxx-backtrace \
|
||||
--disable-libstdcxx-filesystem-ts
|
||||
|
||||
# Build
|
||||
make -j $NIX_BUILD_CORES
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue