Merge pull request #181994 from trofi/gcc-drop-outdated-sed

gcc: drop outdated sed for system headers clobber
This commit is contained in:
Sergei Trofimovich 2022-07-24 15:01:22 +01:00 committed by GitHub
commit c7062b9769
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,15 +171,6 @@ preConfigure() {
rm -Rf zlib
fi
if test -f "$NIX_CC/nix-support/orig-libc"; then
# Patch the configure script so it finds glibc headers. It's
# important for example in order not to get libssp built,
# because its functionality is in glibc already.
sed -i \
-e "s,glibc_header_dir=/usr/include,glibc_header_dir=$libc_dev/include", \
gcc/configure
fi
if test -n "$crossMingw" -a -n "$crossStageStatic"; then
mkdir -p ../mingw
# --with-build-sysroot expects that: