natsuhiko / rasqual

Robust Allele Specific Quantification and quality controL
37 stars 20 forks source link

Compiling requires `-fcommon` flag on GCC v10+ #59

Open austintwang opened 5 months ago

austintwang commented 5 months ago

GCC 10 and newer defaults to -fno-common behavior, which results in multiple definition errors. https://gcc.gnu.org/gcc-10/porting_to.html

Would be good to update the makefile or modify the header declarations to use extern

austintwang commented 5 months ago

A temporary workaround for building RASQUAL is to add -fcommon to the CFLAGS envvar.