This patch is for building cgminer v.2.3.2 the latest one with the option --enable-cpumining and during the build process in Ubuntu 18 I have experienced some issues seemsly due to some compatibility issues with automake. So as after fixing those issues I have exported this patch for possible comming buildings
- clone repo, https://github.com/ckolivas/cgminer
- then git checkout v2.3.2
- last but not least, apply patch
cd $home_project_folder/cgminer
./autogen.sh
./configure --enable-cpumining && make
### Installing
./install-sh ./cgminer /usr/local/bin/