From c72db471c66bc9eae910d9015043234bf0ced0f5 Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Sun, 19 Jun 2016 16:07:02 -0400 Subject: [PATCH] latencytop: use $CC to fix cross --- srcpkgs/latencytop/patches/use_cc.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/latencytop/patches/use_cc.patch diff --git a/srcpkgs/latencytop/patches/use_cc.patch b/srcpkgs/latencytop/patches/use_cc.patch new file mode 100644 index 0000000000..3e289abf26 --- /dev/null +++ b/srcpkgs/latencytop/patches/use_cc.patch @@ -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