Make windres output in res format instead of in coff

This makes the output architecture independent, allowing
the x86_64 GNU binutils binary to be used for other
architectures as well, including arm/arm64 which aren't supported
by binutils.
This commit is contained in:
Martin Storsjö committed 2018-01-10 10:53:02 +02:00
1 parent 41985ce12e
commit 583baaa612
4 files changed
+14 -3

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ RUN ./install-wrappers.sh $TOOLCHAIN_PREFIX
# llvm-rc isn't fully usable as a replacement for windres yet.
RUN apt-get update -qq && \
apt-get install -qqy binutils-mingw-w64-x86-64 && \
cp /usr/bin/x86_64-w64-mingw32-windres $TOOLCHAIN_PREFIX/bin && \
cp /usr/bin/x86_64-w64-mingw32-windres $TOOLCHAIN_PREFIX/bin/x86_64-w64-mingw32-windresreal && \
apt-get remove -qqy binutils-mingw-w64-x86-64 && \
cd $TOOLCHAIN_PREFIX/bin