From 7aa1a778145552f11329b17304053a6d2467eed8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 18 Aug 2020 02:49:11 +0200 Subject: [PATCH] wmii: needs -fcommon for gcc10 [ci skip] --- srcpkgs/wmii/template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcpkgs/wmii/template b/srcpkgs/wmii/template index d04d7470d5..738f74350d 100644 --- a/srcpkgs/wmii/template +++ b/srcpkgs/wmii/template @@ -13,6 +13,8 @@ distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code. checksum=0466f1a5c534b0ee9fdace2c7a2d251845b7ec0ae80bdb8e68ae6584ebeebf2b python_version=2 #unverified +CFLAGS="-fcommon" + do_build() { LDFLAGS+=" -lX11 -lXrender" make CC="$CC -c" AR="$AR crs" LD=$CC RANLIB=$RANLIB PREFIX=/usr