c84864b72e051835373ceb308f9be9621e40480b
chmalee
  Thu Dec 9 16:09:10 2021 -0800
Remove -fno-common compiler option from library makefiles as common.mk is a more appropriate location so all CGIs and utils can use the option too, refs #28598

diff --git src/lib/makefile src/lib/makefile
index bca6e93..95f9a00 100644
--- src/lib/makefile
+++ src/lib/makefile
@@ -37,34 +37,30 @@
     paraFetch.o peakCluster.o \
     phyloTree.o pipeline.o portimpl.o pngwrite.o psGfx.o psPoly.o pscmGfx.o \
     psl.o pslGenoShow.o pslShow.o pslTbl.o pslTransMap.o pthreadDoList.o pthreadWrap.o \
     qa.o quickHeap.o quotedP.o \
     ra.o rainbow.o raToStruct.o rbTree.o rangeTree.o regexHelper.o repMask.o \
     rle.o rnautil.o rqlEval.o rqlParse.o rqlToSql.o rudp.o \
     scoreWindow.o seg.o seqOut.o seqStats.o servBrcMcw.o servCrunx.o \
     servcis.o servcl.o servmsII.o servpws.o shaRes.o slog.o snof.o \
     snofmake.o snofsig.o spaceSaver.o spacedColumn.o spacedSeed.o \
     sparseMatrix.o splatAli.o sqlList.o sqlNum.o sqlReserved.o strex.o subText.o sufa.o sufx.o synQueue.o \
     tabRow.o tagSchema.o tagStorm.o tagToJson.o tagToSql.o textOut.o tokenizer.o trix.o twoBit.o \
     udc.o uuid.o vcf.o vcfBits.o vGfx.o vPng.o verbose.o vMatrix.o \
     wildcmp.o windowsToAscii.o wormdna.o \
     xAli.o xa.o xap.o xenshow.o xmlEscape.o xp.o zlibFace.o
 
-ifeq (${FULLWARN},yes)
-  HG_WARN += -fno-common
-endif
-
 $(MACHTYPE)/jkweb.a: $(O) $(MACHTYPE)
 	ar rcus $(MACHTYPE)/jkweb.a $(O)
 
 $(MACHTYPE):
 	mkdir -p $(MACHTYPE)
 
 test:
 	cd tests && ${MAKE} test
 
 clean:
 	rm -f ${O} $(MACHTYPE)/jkweb.a
 	cd tests && ${MAKE} clean
 
 tags:
 	etags ../inc/*.h ../lib/*.h ../lib/*.c  ../hg/inc/*.h ../hg/lib/*.h ../hg/lib/*.c ../hg/hgTracks/*.c ../hg/hgc/*.c ../hg/hgTrackUi/*.c