summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-05-26 12:57:10 +0200
committerAndreas Grapentin <andreas@grapentin.org>2018-05-26 12:57:10 +0200
commit04de9b43cb03576405cd70772e6a26f4c8f723a4 (patch)
tree3915f7b1da07fc0038c801a0c3d21862b7de6033
parente13e9bcd1ada7ddf7b87d646e02eaf771815d98a (diff)
removed python support from stage3 gcc build
-rw-r--r--src/stage3/patches/generic/gcc.patch15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/stage3/patches/generic/gcc.patch b/src/stage3/patches/generic/gcc.patch
index 17d8544..1b88c31 100644
--- a/src/stage3/patches/generic/gcc.patch
+++ b/src/stage3/patches/generic/gcc.patch
@@ -14,8 +14,8 @@ diff -rupN a/0001-pthread-reentrant.patch b/0001-pthread-reentrant.patch
+ -melf" XLEN_SPEC "lriscv \
+ %{shared} \
diff -rupN a/PKGBUILD b/PKGBUILD
---- a/PKGBUILD 2018-05-25 10:15:30.533015789 +0200
-+++ b/PKGBUILD 2018-05-25 10:18:49.539689424 +0200
+--- a/PKGBUILD 2018-05-26 12:05:20.233145125 +0200
++++ b/PKGBUILD 2018-05-26 12:56:33.449842456 +0200
@@ -5,8 +5,9 @@
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
# NOTE: libtool requires rebuilt with each new gcc version
@@ -194,7 +194,7 @@ diff -rupN a/PKGBUILD b/PKGBUILD
make -C libcpp DESTDIR="$pkgdir" install
make -C gcc DESTDIR="$pkgdir" install-po
-@@ -238,9 +226,6 @@ package_gcc() {
+@@ -238,16 +226,9 @@ package_gcc() {
install -Dm755 "$srcdir/c89" "$pkgdir/usr/bin/c89"
install -Dm755 "$srcdir/c99" "$pkgdir/usr/bin/c99"
@@ -204,7 +204,14 @@ diff -rupN a/PKGBUILD b/PKGBUILD
# remove files provided by lib32-gcc-libs
rm -f "$pkgdir"/usr/lib32/lib{stdc++,gcc_s}.so
-@@ -263,7 +248,7 @@ package_gcc-fortran() {
+- # byte-compile python libraries
+- python -m compileall "$pkgdir/usr/share/gcc-${pkgver%%+*}/"
+- python -O -m compileall "$pkgdir/usr/share/gcc-${pkgver%%+*}/"
+-
+ # Install Runtime Library Exception
+ install -d "$pkgdir/usr/share/licenses/$pkgname/"
+ ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \
+@@ -263,7 +244,7 @@ package_gcc-fortran() {
cd gcc-build
make -C $CHOST/libgfortran DESTDIR="$pkgdir" install-cafexeclibLTLIBRARIES \
install-{toolexeclibDATA,nodist_fincludeHEADERS}