SOURCES: astmanproxy-rpm.patch (NEW) - patch po pass rpmcflags and...

jajcus jajcus at pld-linux.org
Mon Jun 19 10:53:39 CEST 2006


Author: jajcus                       Date: Mon Jun 19 08:53:39 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- patch po pass rpmcflags and rpmldflags to Makefile

---- Files affected:
SOURCES:
   astmanproxy-rpm.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/astmanproxy-rpm.patch
diff -u /dev/null SOURCES/astmanproxy-rpm.patch:1.1
--- /dev/null	Mon Jun 19 10:53:39 2006
+++ SOURCES/astmanproxy-rpm.patch	Mon Jun 19 10:53:34 2006
@@ -0,0 +1,28 @@
+diff -dur -x '*~' astmanproxy-1.20.orig/1.20/Makefile astmanproxy-1.20/1.20/Makefile
+--- astmanproxy-1.20.orig/1.20/Makefile	2006-04-08 05:03:21.000000000 +0200
++++ astmanproxy-1.20/1.20/Makefile	2006-06-19 10:31:55.000000000 +0200
+@@ -60,7 +60,7 @@
+ VPATH = src
+ 
+ # Add -g below for debug/GDB symbols
+-CFLAGS+= $(DEFINES) -Wall -O2 -D_REENTRANT -fPIC -Isrc/include -I/usr/include/openssl -I-
++CFLAGS+= $(DEFINES) -Wall $(rpmcflags) -D_REENTRANT -fPIC -Isrc/include -I/usr/include/openssl -I-
+ 
+ # For printing only
+ SRCS := $(MODS:%=%.c)
+@@ -69,13 +69,13 @@
+ all: astmanproxy cert
+ 
+ astmanproxy: $(OBJS) $(SOBJS)
+-	$(CC) $(CFLAGS) -o $@ $(ASTLINK) $(OBJS) $(LIBS)
++	$(CC) $(CFLAGS) -o $@ $(ASTLINK) $(OBJS) $(LIBS) $(rpmldflags)
+ 
+ $(OBJS): %.o: %.c
+ 	$(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $<
+ 
+ $(SOBJS): %.so: %.o
+-	$(CC) $(SOLINK) $< -o $@
++	$(CC) $(SOLINK) $< -o $@ $(rpmldflags)
+ 
+ SERIAL=`date "+%Y%m%d%H%M%S"`
+ 
================================================================


More information about the pld-cvs-commit mailing list