2007-01-16 00:26:37 +01:00
|
|
|
Index: apps/Makefile.in
|
|
|
|
===================================================================
|
2010-01-21 11:28:30 +01:00
|
|
|
--- apps/Makefile.in.orig
|
|
|
|
+++ apps/Makefile.in
|
|
|
|
@@ -121,7 +121,7 @@ snmptest$(EXEEXT): snmptest.$(OSUFFIX
|
2007-08-06 18:48:47 +02:00
|
|
|
$(LINK) ${CFLAGS} -o $@ snmptest.$(OSUFFIX) $(LOCAL_LIBS) ${LDFLAGS} ${LIBS}
|
2007-01-16 00:26:37 +01:00
|
|
|
|
|
|
|
snmptrapd$(EXEEXT): $(TRAPD_OBJECTS) $(USETRAPLIBS) $(INSTALLLIBS)
|
2007-08-06 18:48:47 +02:00
|
|
|
- $(LINK) ${CFLAGS} -o $@ $(TRAPD_OBJECTS) $(INSTALLLIBS) $(LOCAL_LIBS) ${LDFLAGS} ${TRAPLIBS}
|
|
|
|
+ $(LINK) ${CFLAGS} -o $@ -pie $(TRAPD_OBJECTS) $(INSTALLLIBS) $(LOCAL_LIBS) ${LDFLAGS} ${TRAPLIBS}
|
2007-01-16 00:26:37 +01:00
|
|
|
|
|
|
|
snmptrap$(EXEEXT): snmptrap.$(OSUFFIX) $(USELIBS)
|
2007-08-06 18:48:47 +02:00
|
|
|
$(LINK) ${CFLAGS} -o $@ snmptrap.$(OSUFFIX) $(LOCAL_LIBS) ${LDFLAGS} ${LIBS}
|
2007-01-16 00:26:37 +01:00
|
|
|
Index: agent/Makefile.in
|
|
|
|
===================================================================
|
2010-01-21 11:28:30 +01:00
|
|
|
--- agent/Makefile.in.orig
|
|
|
|
+++ agent/Makefile.in
|
|
|
|
@@ -142,7 +142,7 @@ getmibstat.o: mibgroup/kernel_sunos5.c
|
2007-01-16 00:26:37 +01:00
|
|
|
$(CC) $(CFLAGS) -o $@ -D_GETMIBSTAT_TEST -DDODEBUG -c $?
|
|
|
|
|
2007-08-06 18:48:47 +02:00
|
|
|
snmpd$(EXEEXT): ${LAGENTOBJS} $(USELIBS) $(AGENTLIB) $(HELPERLIB) $(MIBLIB) $(LIBTARG)
|
2007-01-16 00:26:37 +01:00
|
|
|
- $(LINK) $(CFLAGS) -o $@ ${LAGENTOBJS} $(LOCAL_LIBS) ${LDFLAGS} ${OUR_AGENT_LIBS}
|
|
|
|
+ $(LINK) $(CFLAGS) -o $@ -pie ${LAGENTOBJS} $(LOCAL_LIBS) ${LDFLAGS} ${OUR_AGENT_LIBS}
|
|
|
|
|
|
|
|
|
2007-08-06 18:48:47 +02:00
|
|
|
libnetsnmpagent.$(LIB_EXTENSION)$(LIB_VERSION): ${LLIBAGENTOBJS} $(USELIBS)
|