| |
| |
| @@ -14,7 +14,7 @@ topdir = @top_srcdir@ |
| |
| LIBS = -lsio -lstr -lmisc -lxlog -lportable -lpset @LIBS@ |
| |
| -CFLAGS += @CFLAGS@ |
| +CFLAGS += @CFLAGS@ -fPIE |
| DCFLAGS = -Wall -Wredundant-decls -W -Wfloat-equal -Wundef -Wcast-qual -Wwrite-strings -Wmissing-noreturn -Wmissing-format-attribute -Wshadow -Wpointer-arith -Wno-unused -g |
| |
| |
| |
| |
| @@ -119,7 +119,7 @@ itox: itox.c |
| $(CC) $(CFLAGS) $(DEBUG) $(SRCDIR)/itox.c -o $@ $(LDFLAGS) $(LIBS) |
| |
| xinetd: $(OBJS) |
| - $(CC) $(CFLAGS) $(DEBUG) -o $@ $(OBJS) $(LDFLAGS) $(LIBS) || rm -f $@ |
| + $(CC) $(CFLAGS) $(DEBUG) -o $@ -PIE $(OBJS) $(LDFLAGS) $(LIBS) || rm -f $@ |
| |
| clean: |
| rm -f $(OBJS) $(NAME) core itox |