SOURCES: ntpwatchd-makefile.patch (NEW) - Makefile patch for ntpwatchd

jajcus jajcus at pld-linux.org
Thu May 15 14:46:12 CEST 2008


Author: jajcus                       Date: Thu May 15 12:46:12 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- Makefile patch for ntpwatchd

---- Files affected:
SOURCES:
   ntpwatchd-makefile.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/ntpwatchd-makefile.patch
diff -u /dev/null SOURCES/ntpwatchd-makefile.patch:1.1
--- /dev/null	Thu May 15 14:46:12 2008
+++ SOURCES/ntpwatchd-makefile.patch	Thu May 15 14:46:07 2008
@@ -0,0 +1,22 @@
+diff -durN -x '*~' ntpwatchd-0.1.orig/Makefile ntpwatchd-0.1/Makefile
+--- ntpwatchd-0.1.orig/Makefile	2008-02-04 15:36:02.000000000 +0100
++++ ntpwatchd-0.1/Makefile	2008-05-15 14:43:46.000000000 +0200
+@@ -3,6 +3,9 @@
+ NAME=ntpwatchd
+ FILES=ntpwatchd.c ntpwatchd.init ntpwatchd.pl Makefile ntpwatchd.spec
+ NV = $(NAME)-$(VERSION)
++CC = diet -Os gcc
++CFLAGS = -ggdb
++LDFLAGS = 
+ 
+ all: ntpwatchd
+ 
+@@ -10,7 +13,7 @@
+ 	gcc -o $@ -std=gnu99 -DDPTR_LEVEL=9 -Wall -pedantic -O0 -ggdb $^ -lm
+ 
+ ntpwatchd: ntpwatchd.c
+-	diet -Os gcc -o $@ -std=gnu99 -DNDEBUG=1 -Wall -pedantic -ggdb $^ -lm
++	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ -std=gnu99 -DNDEBUG=1 -Wall -pedantic $^ -lm $(LIBS)
+ 
+ dist: 
+ 	rm -rf $(NV) $(NV).tar $(NV).tar.gz
================================================================


More information about the pld-cvs-commit mailing list