fixup! Add ports to the Sortix repository.

This commit is contained in:
Jonas 'Sortie' Termansen 2022-01-29 13:06:39 +01:00
parent 9570f92b51
commit cd61a8f336
2 changed files with 5 additions and 20 deletions

View File

@ -1,8 +1,8 @@
NAME='gcc'
BUILD_LIBRARIES='libstdc++ libiconv? libgmp libmpfr libmpc libz'
VERSION='1.1-rc2'
DISTNAME='sortix-gcc-1.1-rc2'
ARCHIVE='sortix-gcc-1.1-rc2.tar.xz'
SHA256SUM='556037f471157a4f28a117126121ee0cb6bbd78a32738f99a44fc5a181239443'
VERSION='1.1-rc3'
DISTNAME='sortix-gcc-1.1-rc3'
ARCHIVE='sortix-gcc-1.1-rc3.tar.xz'
SHA256SUM='4d90fe38a67cddab81dc34265009cde508338072ec9b0083010d46647f9c6320'
UPSTREAM_SITE='https://pub.sortix.org/sortix/toolchain'
UPSTREAM_ARCHIVE='sortix-gcc-1.1-rc2.tar.xz'
UPSTREAM_ARCHIVE='sortix-gcc-1.1-rc3.tar.xz'

View File

@ -1,18 +1,3 @@
diff --no-dereference -Naur -- gcc.normalized/gcc/Makefile.in gcc.srctix/gcc/Makefile.in
--- gcc.normalized/gcc/Makefile.in 2015-11-23 01:29:00.000000000 +0100
+++ gcc.srctix/gcc/Makefile.in 2021-07-19 00:47:48.549925061 +0200
@@ -748,7 +748,10 @@
CC_FOR_BUILD = @CC_FOR_BUILD@
CXX_FOR_BUILD = @CXX_FOR_BUILD@
BUILD_CFLAGS= @BUILD_CFLAGS@ -DGENERATOR_FILE
-BUILD_CXXFLAGS = @BUILD_CXXFLAGS@ -DGENERATOR_FILE
+# PATCH: genautomata can crash by https://gitlab.com/sortix/sortix/-/issues/740
+# since it uses pthread_create and pulls in operator new via vec.h under
+# some circumstances, so disable exceptions.
+BUILD_CXXFLAGS = @BUILD_CXXFLAGS@ -DGENERATOR_FILE -fno-exceptions
# Native compiler that we use. This may be C++ some day.
COMPILER_FOR_BUILD = $(CXX_FOR_BUILD)
diff --no-dereference -Naur -- gcc.normalized/post-install.sortix gcc.srctix/post-install.sortix
--- gcc.normalized/post-install.sortix 1970-01-01 01:00:00.000000000 +0100
+++ gcc.srctix/post-install.sortix 2019-04-17 23:19:45.665878206 +0200