Accepted submit request 51508 from user leonardocf OBS-URL: https://build.opensuse.org/request/show/51508 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-snmp?expand=0&rev=34
27 lines
1.3 KiB
Diff
27 lines
1.3 KiB
Diff
Index: net-snmp-5.6/agent/Makefile.in
|
|
===================================================================
|
|
--- net-snmp-5.6.orig/agent/Makefile.in
|
|
+++ net-snmp-5.6/agent/Makefile.in
|
|
@@ -245,7 +245,7 @@ getmibstat.o: mibgroup/kernel_sunos5.c
|
|
$(CC) $(CFLAGS) -o $@ -D_GETMIBSTAT_TEST -DDODEBUG -c $?
|
|
|
|
snmpd$(EXEEXT): ${LAGENTOBJS} $(USELIBS) $(AGENTLIB) $(MIBLIB) $(LIBTARG)
|
|
- $(LINK) $(CFLAGS) -o $@ ${LAGENTOBJS} $(LOCAL_LIBS) ${LDFLAGS} ${OUR_AGENT_LIBS}
|
|
+ $(LINK) $(CFLAGS) -o $@ -pie ${LAGENTOBJS} $(LOCAL_LIBS) ${LDFLAGS} ${OUR_AGENT_LIBS}
|
|
|
|
|
|
libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION): ${LLIBAGENTOBJS} $(USELIBS)
|
|
Index: net-snmp-5.6/apps/Makefile.in
|
|
===================================================================
|
|
--- net-snmp-5.6.orig/apps/Makefile.in
|
|
+++ net-snmp-5.6/apps/Makefile.in
|
|
@@ -127,7 +127,7 @@ snmptest$(EXEEXT): snmptest.$(OSUFFIX
|
|
$(LINK) ${CFLAGS} -o $@ snmptest.$(OSUFFIX) $(LOCAL_LIBS) ${LDFLAGS} ${LIBS}
|
|
|
|
snmptrapd$(EXEEXT): $(TRAPD_OBJECTS) $(USETRAPLIBS) $(INSTALLLIBS)
|
|
- $(LINK) ${CFLAGS} -o $@ $(TRAPD_OBJECTS) $(INSTALLLIBS) $(LOCAL_LIBS) ${LDFLAGS} ${TRAPLIBS}
|
|
+ $(LINK) ${CFLAGS} -o $@ -pie $(TRAPD_OBJECTS) $(INSTALLLIBS) $(LOCAL_LIBS) ${LDFLAGS} ${TRAPLIBS}
|
|
|
|
snmptrap$(EXEEXT): snmptrap.$(OSUFFIX) $(USELIBS)
|
|
$(LINK) ${CFLAGS} -o $@ snmptrap.$(OSUFFIX) $(LOCAL_LIBS) ${LDFLAGS} ${LIBS}
|