summaryrefslogtreecommitdiff
path: root/package/cxxtools
diff options
context:
space:
mode:
Diffstat (limited to 'package/cxxtools')
-rw-r--r--package/cxxtools/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/cxxtools/Makefile b/package/cxxtools/Makefile
index dab8121eb..f3a270aa8 100644
--- a/package/cxxtools/Makefile
+++ b/package/cxxtools/Makefile
@@ -30,6 +30,8 @@ else
TLDFLAGS+= -liconv -shared
endif
+TCFLAGS+= -fPIC
+TCXXFLAGS+= -fPIC
CONFIGURE_STYLE:= gnu
CONFIGURE_ENV+= ac_cv_lib_nsl_setsockopt=no
CONFIGURE_ARGS+= --with-libiconv-prefix='${STAGING_DIR}/usr'