htop
htop copied to clipboard
Fix gcc10
Hi @hishamhm
GCC 10 switches from -fcommon to -fno-common by default (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85678), and htop currently fails when building against -fno-common.
I've enabled -fno-common in Travis to emulate GCC 10's behaviour, to catch any future bugs like this.
See line 1 of CRT.h and linux/LinuxProcess.h :
/* Do not edit this file. It was automatically generated. */