2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-02 14:02:27 +00:00

gcc: 12.1.0

This commit is contained in:
git-bruh 2022-05-06 16:47:52 +05:30
parent 9fac541bdd
commit 14cdb576be
No known key found for this signature in database
GPG Key ID: E1475C50075ADCE6
5 changed files with 32 additions and 2 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh -e
patch -p1 < musl-sched_h-calloc-poison.patch
# Make sure gmp is built with generic options.
cp gcc/gmp/configfsf.guess gcc/gmp/config.guess
cp gcc/gmp/configfsf.sub gcc/gmp/config.sub

View File

@ -1,5 +1,6 @@
b47cf2818691f5b1e21df2bb38c795fac2cfbd640ede2d0a5e1c89e338a3ac39
62fd634889f31c02b64af2c468f064b47ad1ca78411c45abe6ac4b5f8dd19c7b
fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2
0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f
17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459
765614b3396d70bca3fa0ae4a813632486c6dca320e2bd13c8c39dca52be4a4c
a8ad7c7575b75a95b843cd04f1412bdc908395e33c23fc5a1db2904dd710faef

View File

@ -0,0 +1,26 @@
diff --git a/gcc/libcc1/libcc1plugin.cc b/gcc/libcc1/libcc1plugin.cc
index 12ab5a5..a2762e7 100644
--- a/gcc/libcc1/libcc1plugin.cc
+++ b/gcc/libcc1/libcc1plugin.cc
@@ -31,6 +31,8 @@
#undef PACKAGE_TARNAME
#undef PACKAGE_VERSION
+#include <pthread.h>
+
#include "gcc-plugin.h"
#include "system.h"
#include "coretypes.h"
diff --git a/gcc/libcc1/libcp1plugin.cc b/gcc/libcc1/libcp1plugin.cc
index 83dab7f..d84fa64 100644
--- a/gcc/libcc1/libcp1plugin.cc
+++ b/gcc/libcc1/libcp1plugin.cc
@@ -32,6 +32,8 @@
#undef PACKAGE_TARNAME
#undef PACKAGE_VERSION
+#include <pthread.h>
+
#include "gcc-plugin.h"
#include "system.h"
#include "coretypes.h"

View File

@ -3,3 +3,4 @@ https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz gcc/gmp
https://ftp.gnu.org/gnu/mpfr/mpfr-4.1.0.tar.xz gcc/mpfr
https://ftp.gnu.org/gnu/mpc/mpc-1.2.1.tar.gz gcc/mpc
files/c99
patches/musl-sched_h-calloc-poison.patch

View File

@ -1 +1 @@
11.3.0 1
12.1.0 1