packages/net/freeradius/patches/009-no_pie.patch
2007-04-18 01:06:04 +00:00

13 lines
602 B
Diff

diff -ruN freeradius-1.1.6-old/src/main/Makefile.in freeradius-1.1.6-new/src/main/Makefile.in
--- freeradius-1.1.6-old/src/main/Makefile.in 2007-02-14 16:44:23.000000000 +0100
+++ freeradius-1.1.6-new/src/main/Makefile.in 2007-04-13 05:08:11.000000000 +0200
@@ -61,7 +61,7 @@
radiusd: $(SERVER_OBJS) $(MODULE_OBJS) ../lib/libradius.la
$(LIBTOOL) --mode=link $(CC) -export-dynamic -dlopen self \
- $(LDFLAGS) -pie $(LINK_MODE) -o $@ $(SERVER_OBJS) \
+ $(LDFLAGS) $(LINK_MODE) -o $@ $(SERVER_OBJS) \
$(MODULE_LIBS) $(LIBS) $(SNMP_LIBS) $(PTHREADLIB) \
$(LIBLTDL) $(OPENSSL_LIBS)