cd0d3f081ff261f36b65ec1016d859ce3d50cb14
chmalee
  Mon Apr 19 14:29:28 2021 -0700
Add -fno-common to library makefiles to fix common extern variable definition errors

diff --git src/hg/hgGene/hgGene.h src/hg/hgGene/hgGene.h
index d45fc87..0a73217 100644
--- src/hg/hgGene/hgGene.h
+++ src/hg/hgGene/hgGene.h
@@ -304,29 +304,29 @@
 #define hggMrnaFoldRegion "hgg_mrnaFoldRegion"	/* Which region in mRNA to show. */
 #define hggMrnaFoldPs	"hgg_mrnaFoldPs"	/* PostScript file. */
 #define hggOtherId "hgg_otherId"	/* Other organism gene id. */
 #define hggOtherPepTable "hgg_otherPepTable"	/* Other organism peptide table. */
 
 /* -------- Global Variables --------*/
 extern struct cart *cart;	/* This holds cgi and other variables between clicks. */
 extern struct hash *oldCart;	/* Old cart hash. */
 extern char *database;		/* Name of genome database - hg15, mm3, or the like. */
 extern char *genome;		/* Name of genome - mouse, human, etc. */
 extern char *curGeneId;		/* Current Gene Id. */
 extern char *curAlignId;		/* Current Align Id. */
 extern char *curProtId;		/* Current protein Id. */
 extern char *curGeneName;		/* Biological name of gene. */
 extern char *curGeneChrom;	/* Chromosome current gene is on. */
-struct genePred *curGenePred;	/* Current gene prediction structure. */
+extern struct genePred *curGenePred;	/* Current gene prediction structure. */
 extern boolean isGencode;              /* is this based on the Gencode models */
 extern boolean isGencode2;             /* is this based on the Gencode models and use ensembl id as primary id */
 extern int curGeneStart,curGeneEnd;	/* Position in chromosome. */
-struct sqlConnection *spConn;	/* Connection to SwissProt database. */
+extern struct sqlConnection *spConn;	/* Connection to SwissProt database. */
 extern char *swissProtAcc;	/* SwissProt accession (may be NULL). */
 extern struct trackDb *globalTdb;  /* The trackDb structure for the table containing the current item. */
 
 #define KG_UNKNOWN 0
 #define KG_I       1
 #define KG_II      2
 #define KG_III     3
 extern int kgVersion;           /* KG version */