From 79454c3485e882c6d07d0b457e1c00f5a8bb7e5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 18 Aug 2020 02:48:37 +0200 Subject: [PATCH] ocaml-lablgtk2: needs -fcommon for gcc10 [ci skip] --- srcpkgs/ocaml-lablgtk2/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/ocaml-lablgtk2/template b/srcpkgs/ocaml-lablgtk2/template index b9389c1fff4..e1ef60da18c 100644 --- a/srcpkgs/ocaml-lablgtk2/template +++ b/srcpkgs/ocaml-lablgtk2/template @@ -18,6 +18,10 @@ nocross=yes nopie=yes disable_parallel_build=yes +post_configure() { + vsed -i src/Makefile -e "s;CFLAGS = ;& -fcommon ;" +} + post_install() { vlicense COPYING }