diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index a0aafb5..56467aa 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -15,7 +15,8 @@ md5sums=('991478532b56ab3b6f46ea9fa332626f') build() { cd "$srcdir/$pkgname-$pkgver" CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common - ./configure --prefix=/usr --config-cache --with-ssl + LIBS='-lm' ./configure --prefix=/usr --config-cache --with-ssl + find -name libtool -execdir sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' '{}' \; make }