packages/net/freeradius/patches/009-no_pie.patch

12 lines
426 B
Diff
Raw Normal View History

--- a/src/main/Makefile.in
+++ b/src/main/Makefile.in
@@ -61,7 +61,7 @@ $(SERVER_OBJS): $(INCLUDES)
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)