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 }