mirror of
https://github.com/godotengine/build-containers.git
synced 2025-12-31 21:48:41 +03:00
Add a fix to binutils that fixes LTO for us
The patch in question is https://sourceware.org/bugzilla/show_bug.cgi?id=24267#c11 Patch is includes in the src.rpm in this commit
This commit is contained in:
@@ -5,6 +5,9 @@ ARG mono_version
|
||||
RUN if [ -z "${mono_version}" ]; then echo -e "\n\nargument mono-version is mandatory!\n\n"; exit 1; fi
|
||||
|
||||
RUN dnf -y install scons mingw32-gcc mingw32-gcc-c++ mingw32-winpthreads-static mingw64-gcc mingw64-gcc-c++ mingw64-winpthreads-static yasm && dnf clean all && \
|
||||
rpm -Uvh --replacepkgs /root/files/mingw-binutils-generic-2.30-5.fc29.godot.x86_64.rpm \
|
||||
/root/files/mingw64-binutils-2.30-5.fc29.godot.x86_64.rpm \
|
||||
/root/files/mingw32-binutils-2.30-5.fc29.godot.x86_64.rpm && \
|
||||
curl https://download.mono-project.com/sources/mono/mono-${mono_version}.tar.bz2 | tar xj && \
|
||||
cd mono-${mono_version} && \
|
||||
./configure --prefix=/root/dependencies/mono-64 --host=x86_64-w64-mingw32 --disable-boehm --disable-mcs-build && \
|
||||
|
||||
Reference in New Issue
Block a user