SOURCES: latencytop-make.patch (NEW) - allow passing own CC and LDFLAGS

glen glen at pld-linux.org
Thu Oct 23 13:53:43 CEST 2008


Author: glen                         Date: Thu Oct 23 11:53:43 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- allow passing own CC and LDFLAGS

---- Files affected:
SOURCES:
   latencytop-make.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/latencytop-make.patch
diff -u /dev/null SOURCES/latencytop-make.patch:1.1
--- /dev/null	Thu Oct 23 13:53:45 2008
+++ SOURCES/latencytop-make.patch	Thu Oct 23 13:53:38 2008
@@ -0,0 +1,15 @@
+--- latencytop-0.4/Makefile~	2008-04-22 17:36:08.000000000 +0300
++++ latencytop-0.4/Makefile	2008-10-23 14:48:14.004883306 +0300
+@@ -14,10 +14,10 @@
+ 
+ # We write explicity this "implicit rule"
+ %.o : %.c
+-	gcc -c $(CFLAGS) $(XCFLAGS) $< -o $@
++	$(CC) -c $(CFLAGS) $(XCFLAGS) $< -o $@
+ 
+ latencytop: latencytop.o display.o latencytop.h translate.o Makefile
+-	gcc $(CFLAGS) latencytop.o display.o translate.o $(LDF) -o latencytop 
++	$(CC) $(CFLAGS) latencytop.o display.o translate.o $(LDF) $(LDFLAGS) -o latencytop 
+ 
+ 
+ clean:
================================================================


More information about the pld-cvs-commit mailing list