From 8d6133d06a250c120cf91d736afeb552a664462f Mon Sep 17 00:00:00 2001 From: BtbN Date: Tue, 30 Jul 2024 19:00:38 +0200 Subject: [PATCH] Fix inlining bug on mingw in gcc --- images/base-win32/Dockerfile | 1 + images/base-win64/Dockerfile | 1 + 2 files changed, 2 insertions(+) diff --git a/images/base-win32/Dockerfile b/images/base-win32/Dockerfile index ee2ef4d..4ce686a 100644 --- a/images/base-win32/Dockerfile +++ b/images/base-win32/Dockerfile @@ -3,6 +3,7 @@ FROM $GH_REPO/base:latest RUN --mount=src=ct-ng-config,dst=/.config \ git clone --filter=blob:none https://github.com/crosstool-ng/crosstool-ng.git /ct-ng && cd /ct-ng && \ + curl "https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=747c4b58573ea00419f64293a61537eb69f43307" > packages/gcc/14.1.0/9999-fix-inline.patch && \ ./bootstrap && \ ./configure --enable-local && \ make -j$(nproc) && \ diff --git a/images/base-win64/Dockerfile b/images/base-win64/Dockerfile index a5818b6..4a33be3 100644 --- a/images/base-win64/Dockerfile +++ b/images/base-win64/Dockerfile @@ -3,6 +3,7 @@ FROM $GH_REPO/base:latest RUN --mount=src=ct-ng-config,dst=/.config \ git clone --filter=blob:none https://github.com/crosstool-ng/crosstool-ng.git /ct-ng && cd /ct-ng && \ + curl "https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=747c4b58573ea00419f64293a61537eb69f43307" > packages/gcc/14.1.0/9999-fix-inline.patch && \ ./bootstrap && \ ./configure --enable-local && \ make -j$(nproc) && \