summaryrefslogtreecommitdiff
path: root/i486-stage4/gcc/DESCR
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-03-30 21:32:26 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-03-30 21:32:26 +0200
commitdb55b0cb8ec387d6eca65eaebbd428fdc12510ba (patch)
treebfb04428c861d3bd8adf06296bb48fd7c2ccd248 /i486-stage4/gcc/DESCR
parentf0626a194c605f3b4f26c0897c6a41af128628ea (diff)
downloadbootstrap32-db55b0cb8ec387d6eca65eaebbd428fdc12510ba.tar.xz
building up to gcc in stage4
Diffstat (limited to 'i486-stage4/gcc/DESCR')
-rw-r--r--i486-stage4/gcc/DESCR23
1 files changed, 23 insertions, 0 deletions
diff --git a/i486-stage4/gcc/DESCR b/i486-stage4/gcc/DESCR
new file mode 100644
index 0000000..41ec1e1
--- /dev/null
+++ b/i486-stage4/gcc/DESCR
@@ -0,0 +1,23 @@
+# no doxygen documentation
+sed -i "/makedepends=/s/doxygen//" PKGBUILD
+sed -i 's/doc-man-doxygen//' PKGBUILD
+sed -i 's/doc-install-man//' PKGBUILD
+sed -i '/# make documentation/{n;s/make/#make/}' PKGBUILD
+sed -i '/# install the libstdc++ man pages/{n;s/make/#make/}' PKGBUILD
+
+# no ADA
+sed -i "/makedepends=/s/gcc-ada//" PKGBUILD
+sed -i '/pkgname/ s/gcc-ada//g' PKGBUILD
+sed -i '/enable-languages/ s/ada//g' PKGBUILD
+# rm "$pkgdir"/usr/share/info/{gccgo,gfortran,gnat-style,gnat_rm,gnat_ugn}.info
+sed -i 's/,gnat-style,gnat_rm,gnat_ugn//' PKGBUILD
+
+# building toolchain (gcc): again, lobtool problems
+#/usr/lib/gcc/i486-pc-linux-gnu/7.3.0/ld: cannot find -lquadmath
+#collect2: error: ld returned 1 exit status
+#libtool: install: error: relink `libgfortran.la' with the above command before installing it
+#make: Leaving directory '/build/gcc/src/gcc-build/i486-pc-linux-gnu/libgfortran'
+#=> wrong link order: libgfortran requires libquadmath
+sed -i 's/libgfortran \\/libquadmath libgfortran \\/g' PKGBUILD
+
+ADDITIONAL_INSTALL_PACKAGE="gcc-libs gcc-fortran gcc-go gcc-objc"