Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

Commit 6bb98fa

Browse files
committed
Preparations for C/C++ headers repo split
1 parent 9e2f9d6 commit 6bb98fa

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/run.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
mkdir -p ${{matrix.target_arch}}
3636
rm -rf ${{matrix.target_arch}}/include
3737
mv toolchain/lib/gcc/${{matrix.target_arch}}-elf/*/include ${{matrix.target_arch}}/
38-
( cd ${{matrix.target_arch}} && patch -p0 <../clang-compat.patch )
38+
for f in patches/*; do \
39+
( cd ${{matrix.target_arch}} && patch -p0 <../$f ); \
40+
done
3941
4042
- name: Push
4143
run: |

make_toolchain.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ chmod +x contrib/download_prerequisites
9696
cd ..
9797
mkdir build-gcc
9898
cd build-gcc
99-
../gcc-$GCCVERSION/configure CFLAGS="$CFLAGS" CXXFLAGS="$CFLAGS" --target=$TARGET --prefix="$PREFIX" --disable-nls --enable-languages=c --without-headers
99+
../gcc-$GCCVERSION/configure CFLAGS="$CFLAGS" CXXFLAGS="$CFLAGS" --target=$TARGET --prefix="$PREFIX" --disable-nls --enable-languages=c,c++ --without-headers
100100
$MAKE all-gcc
101101
$MAKE all-target-libgcc
102102
$MAKE install-gcc
File renamed without changes.

0 commit comments

Comments
 (0)