On Wed, 2020-02-05 at 01:38 +0000, Sérgio Basto wrote:
> Hi, 
> Packages gpm, VirtualBox and webalizer have the building problem as
> described for gpm in [1] , but VirtualBox have thousands of lines
> with
> this error , I'd like disable this check on VirtualBox until
> VirtualBox
> fix it , 
> the author of pull request [1] also comment "The error also happens
> if
> CFLAGS=-fno-common passed explicitly." , any quick way to fix these
> builds ? 

The easiest way is to add -fcommon to the build flags for the package:
  https://gcc.gnu.org/gcc-10/porting_to.html#common
(but FWIW it's best to fix it properly by adding extern to the decls in
the headers, as C can generate slightly faster code that way).

Dave

> Thanks. 
> 
> [1]
> https://github.com/telmich/gpm/pull/37

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to