summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorConnor Behan2021-05-03 10:31:26 +0100
committerConnor Behan2021-05-03 10:31:26 +0100
commit0907d3957e21f83fa55f109af1e628c091643190 (patch)
tree441e5f033ef8a6fba990ed63a5b35f1cc9ca509e /PKGBUILD
parentd30f31d51c7e8e6aea2c12354b8f995327e598c5 (diff)
downloadaur-chemtool-proper.tar.gz
Add explicit -fcommon
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c45d49ea448e..ccdcd742b02c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=chemtool-proper
pkgver=1.6.14
-pkgrel=1
+pkgrel=2
pkgdesc="Chemtool without the stupid right justified help menu"
arch=(i686 x86_64)
license=('GPL2')
@@ -16,6 +16,7 @@ source=(http://ruby.chemie.uni-freiburg.de/~martin/chemtool/chemtool-$pkgver.tar
build() {
cd "$srcdir"/chemtool-$pkgver
sed -i -e 's/.*right_justify.*//g' main.c
+ CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
./configure --prefix=/usr --mandir=/usr/share/man
make
}