a50e4418eaa655c9ddf0d46b3ec6c59c15f1e50c
angie
  Wed Aug 17 16:27:32 2011 -0700
Adding CFLAGS to hgTracks' linking.
diff --git src/hg/hgTracks/makefile src/hg/hgTracks/makefile
index 821d81d..56544e2 100644
--- src/hg/hgTracks/makefile
+++ src/hg/hgTracks/makefile
@@ -34,34 +34,34 @@
 %.o: %.c
 	${CC} ${COPT} ${CFLAGS} ${GBROWSE_D} ${LOWELAB_DEFS} ${HG_DEFS} ${HG_WARN} ${HG_INC} ${XINC} -o $@ -c $<
 
 mgsc: strip
 	mv $A ${CGI_BIN}/$A
 
 RENDERO = renderMain.o ${COMMONO}
 RENDERA = ./hgRenderTracks
 
 # when it is time to deliver hgRenderTracks, remove the rm and echo below
 compile: compileMain
 	@rm -f ${RENDERA}
 	@echo "run 'make hgRenderTracks' to obtain that binary"
 
 compileMain: $O
-	${CC} -o $A $O ${MYLIBS} ${L}
+	${CC} ${CFLAGS} -o $A $O ${MYLIBS} ${L}
 
 ${RENDERA}: ${RENDERO}
-	${CC} -o ${RENDERA} ${RENDERO} ${MYLIBS} ${L}
+	${CC} ${CFLAGS} -o ${RENDERA} ${RENDERO} ${MYLIBS} ${L}
 
 # install of RENDERA is not enabled yet.
 #	When it is desired, would need three different targets:
 #	my:: - for personal browser into ${CGI_BIN}-${USER}
 #	alpha:: - for browser into ${CGI_BIN}
 #	beta:: - for browser into ${CGI_BIN}-beta
 #	install:: - into DESTDIR/CGI_BIN
 
 wigTrack.o:	wigCommon.h
 bedGraph.o:	wigCommon.h
 
 switchGear.o:	switchGear.h
 cds.o:		cds.h
 hgTracks.o:	cds.h
 pslTrack.o:	cds.h