From 61ab2635897715ce86f4a918c7fa64972ffd62b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 18 Aug 2020 02:49:25 +0200 Subject: [PATCH] yersinia: needs -fcommon for gcc10 [ci skip] --- srcpkgs/yersinia/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template index e36b3a56e15..f9d57cfe9ff 100644 --- a/srcpkgs/yersinia/template +++ b/srcpkgs/yersinia/template @@ -16,3 +16,8 @@ checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f if [ -n "$CROSS_BUILD" ]; then hostmakedepends+=" ${makedepends}" fi + +post_configure() { + # configure doesn't honor env CFLAGS + vsed -i src/Makefile -e'/^CFLAGS/s/$/ -fcommon/' +}