void-packages/srcpkgs/latencytop/patches/use_cc.patch

16 lines
469 B
Diff

--- a//home/aviator/.vim/backups/Makefile~ 2009-04-28 09:37:54.000000000 -0400
+++ b/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