From 9ee387c84bfbdcf8204a4ed43f27e74356af875f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 18 Aug 2020 02:48:39 +0200 Subject: [PATCH] pcc: needs -fcommon for gcc10 [ci skip] --- srcpkgs/pcc/template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template index a547f4dbc8b..e3c3309a05a 100644 --- a/srcpkgs/pcc/template +++ b/srcpkgs/pcc/template @@ -18,6 +18,8 @@ distfiles="http://pcc.ludd.ltu.se/ftp/pub/pcc-beta/pcc-${_distver}.BETA-${_snaps checksum=a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812 nocross=1 +CFLAGS="-fcommon" + pre_configure() { vsed -i '/GNUC_MINOR/s,3,1,g' cc/cc/cc.c cc/driver/platform.c }