From c6ae17490043e82cd8c9ef68e8e1a67701a0eeaf Mon Sep 17 00:00:00 2001 From: Christopher Wellons Date: Sat, 1 Oct 2022 14:02:22 -0400 Subject: [PATCH] Delete useless Binutils programs Obviously elfedit and readelf are not useful on Windows. GProf has not worked on Windows since Binutils 2.36 because it doesn't support PIE. It was never effective in the first place, so it probably wasn't ever worth including. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index deedb98..91cacaf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -157,7 +157,8 @@ RUN /binutils-$BINUTILS_VERSION/configure \ CFLAGS="-Os" \ LDFLAGS="-s" \ && make MAKEINFO=true -j$(nproc) \ - && make MAKEINFO=true install + && make MAKEINFO=true install \ + && rm $PREFIX/bin/elfedit.exe $PREFIX/bin/gprof.exe $PREFIX/bin/readelf.exe WORKDIR /gmp RUN /gmp-$GMP_VERSION/configure \