summaryrefslogtreecommitdiff
path: root/package/glib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/glib/Makefile')
-rw-r--r--package/glib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/glib/Makefile b/package/glib/Makefile
index 6d6323877..80956d717 100644
--- a/package/glib/Makefile
+++ b/package/glib/Makefile
@@ -40,6 +40,7 @@ CONFIGURE_ENV+= glib_cv_long_long_format=ll \
ac_cv_func_posix_getgrgid_r=yes
HOST_STYLE:= auto
+HOST_CFLAGS+= -fPIC
ifneq ($(OStype),Darwin)
HOST_CONFIGURE_ARGS+= --with-libiconv=no
endif