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/hubApi/dataApi.h src/hg/hubApi/dataApi.h
index 3692443..6077f3e 100644
--- src/hg/hubApi/dataApi.h
+++ src/hg/hubApi/dataApi.h
@@ -94,31 +94,31 @@
 extern long enteredMainTime;	/* will become = clock1000() on entry */
 
 /* limit amount of output to a maximum to avoid overload */
 extern int maxItemsOutput;	/* can be set in URL maxItemsOutput=N */
 extern long long itemsReturned;	/* for getData functions, number of items returned */
 extern boolean reachedMaxItems;	/* during getData, signal to return */
 
 /* downloadUrl for use in error exits when reachedMaxItems */
 extern struct dyString *downloadUrl;
 
 /* supportedTypes will be initialized to a known supported set */
 extern struct slName *supportedTypes;
 
 /* for debugging purpose, current bot delay value */
 extern int botDelay;
-boolean debug;	/* can be set in URL debug=1, to turn off: debug=0 */
+extern boolean debug;	/* can be set in URL debug=1, to turn off: debug=0 */
 
 /* default is to list all trackDb entries, composite containers too.
  * This option will limit to only the actual track entries with data
  */
 extern boolean trackLeavesOnly;	/* set by CGI parameter 'trackLeavesOnly' */
 
 /* this selects output type 'arrays', where the default type is: objects */
 extern boolean jsonOutputArrays; /* set by CGI parameter 'jsonOutputArrays' */
 
 extern boolean measureTiming;	/* set by CGI parameters */
 
 /*  functions in hubApi.c */
 struct hubPublic *hubPublicDbLoadAll();
 
 struct dbDb *ucscDbDb();