Skip to content

Commit

Permalink
Merge pull request #181994 from trofi/gcc-drop-outdated-sed
Browse files Browse the repository at this point in the history
gcc: drop outdated sed for system headers clobber
  • Loading branch information
trofi authored Jul 24, 2022
2 parents 9e11882 + 769956d commit c7062b9
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions pkgs/development/compilers/gcc/builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c7062b9

Please sign in to comment.