summaryrefslogtreecommitdiff
path: root/package/portmap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/portmap/Makefile')
-rw-r--r--package/portmap/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/portmap/Makefile b/package/portmap/Makefile
index a1864a135..d6ffd9404 100644
--- a/package/portmap/Makefile
+++ b/package/portmap/Makefile
@@ -29,6 +29,7 @@ else
MAKE_FLAGS+= NO_TCP_WRAPPER=1
endif
TCPPFLAGS+= -DDAEMON_UID=20 -DDAEMON_GID=20
+TCFLAGS+= -fPIC
BUILD_STYLE:= auto
MAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS} \
CFLAGS='${TCFLAGS}'