Fix inlining bug on mingw in gcc

This commit is contained in:
BtbN 2024-07-30 19:00:38 +02:00
parent 9b36476158
commit 8d6133d06a
2 changed files with 2 additions and 0 deletions

View File

@ -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) && \

View File

@ -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) && \