1
0
mirror of https://github.com/skeeto/w64devkit.git synced 2025-07-02 01:41:38 +03:00

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.
This commit is contained in:
Christopher Wellons
2022-10-01 14:02:22 -04:00
parent 0b63b1c90b
commit c6ae174900

View File

@ -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 \