kloczek / rpms / net-snmp

Forked from rpms/net-snmp 6 years ago
Clone
a1ac738
diff -up net-snmp-5.4.1/agent/Makefile.in.backup_patch_4 net-snmp-5.4.1/agent/Makefile.in
a1ac738
--- net-snmp-5.4.1/agent/Makefile.in.backup_patch_4	2007-07-05 01:26:56.000000000 +0200
a1ac738
+++ net-snmp-5.4.1/agent/Makefile.in	2008-07-25 12:52:44.000000000 +0200
d4f5003
@@ -139,7 +139,7 @@ getmibstat.o: mibgroup/kernel_sunos5.c
d4f5003
 	$(CC) $(CFLAGS) -o $@ -D_GETMIBSTAT_TEST -DDODEBUG -c $? 
d4f5003
 
d4f5003
 snmpd$(EXEEXT):	${LAGENTOBJS} $(USELIBS) $(AGENTLIB) $(HELPERLIB) $(MIBLIB) $(LIBTARG) 
d4f5003
-	$(LINK) $(CFLAGS) -o $@ ${LAGENTOBJS} $(LOCAL_LIBS) ${LDFLAGS} ${OUR_AGENT_LIBS}
d4f5003
+	$(LINK) $(CFLAGS) -o $@ -pie ${LAGENTOBJS} $(LOCAL_LIBS) ${LDFLAGS} ${OUR_AGENT_LIBS}
d4f5003
 
d4f5003
 
d4f5003
 libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION):    ${LLIBAGENTOBJS} $(USELIBS)
a1ac738
diff -up net-snmp-5.4.1/apps/Makefile.in.backup_patch_4 net-snmp-5.4.1/apps/Makefile.in
a1ac738
--- net-snmp-5.4.1/apps/Makefile.in.backup_patch_4	2007-07-05 01:26:56.000000000 +0200
a1ac738
+++ net-snmp-5.4.1/apps/Makefile.in	2008-07-25 12:52:44.000000000 +0200
a1ac738
@@ -115,7 +115,7 @@ snmptest$(EXEEXT):    snmptest.$(OSUFFIX
a1ac738
 	$(LINK) ${CFLAGS} -o $@ snmptest.$(OSUFFIX) $(LOCAL_LIBS) ${LDFLAGS} ${LIBS} 
a1ac738
 
a1ac738
 snmptrapd$(EXEEXT):    $(TRAPD_OBJECTS) $(USETRAPLIBS) $(INSTALLLIBS)
a1ac738
-	$(LINK) ${CFLAGS} -o $@ $(TRAPD_OBJECTS) $(INSTALLLIBS) $(LOCAL_LIBS) ${LDFLAGS} ${TRAPLIBS}
a1ac738
+	$(LINK) ${CFLAGS} -o $@ -pie $(TRAPD_OBJECTS) $(INSTALLLIBS) $(LOCAL_LIBS) ${LDFLAGS} ${TRAPLIBS}
a1ac738
 
a1ac738
 snmptrap$(EXEEXT):    snmptrap.$(OSUFFIX) $(USELIBS)
a1ac738
 	$(LINK) ${CFLAGS} -o $@ snmptrap.$(OSUFFIX) $(LOCAL_LIBS) ${LDFLAGS} ${LIBS}