Skip to content

Commit c6ae174

Browse files
committed
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.
1 parent 0b63b1c commit c6ae174

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ RUN /binutils-$BINUTILS_VERSION/configure \
157157
CFLAGS="-Os" \
158158
LDFLAGS="-s" \
159159
&& make MAKEINFO=true -j$(nproc) \
160-
&& make MAKEINFO=true install
160+
&& make MAKEINFO=true install \
161+
&& rm $PREFIX/bin/elfedit.exe $PREFIX/bin/gprof.exe $PREFIX/bin/readelf.exe
161162

162163
WORKDIR /gmp
163164
RUN /gmp-$GMP_VERSION/configure \

0 commit comments

Comments
 (0)