latencytop: use $CC to fix cross

This commit is contained in:
Toyam Cox 2016-06-19 16:07:02 -04:00
parent 9fe1247eb3
commit c72db471c6
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
--- /home/aviator/.vim/backups/Makefile~ 2009-04-28 09:37:54.000000000 -0400
+++ Makefile 2016-06-19 16:04:19.885405164 -0400
@@ -26,10 +26,10 @@
# We write explicity this "implicit rule"
%.o : %.c
- gcc -c $(CFLAGS) $(XCFLAGS) $< -o $@
+ $(CC) -c $(CFLAGS) $(XCFLAGS) $< -o $@
latencytop: $(OBJS) latencytop.h Makefile
- gcc $(CFLAGS) $(OBJS) $(LDF) -o latencytop
+ $(CC) $(CFLAGS) $(OBJS) $(LDF) -o latencytop
clean:
rm -f *~ latencytop DEADJOE *.o