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.
4 lines
73 B
Bash
Executable File
4 lines
73 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
x86_64-w64-mingw32-windresreal "$@" --output-format res
|