summaryrefslogtreecommitdiff
path: root/package/icu4c/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-23 18:28:03 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-23 18:28:24 +0200
commit72b4ecd972cbade303cf7cf69986183a10feb118 (patch)
tree5bd4eec4af600aa631b0f523b9067855c8e60a4b /package/icu4c/Makefile
parent4340ac5371121ab2adb2dc53414c2348506cac73 (diff)
fix host compile of librsvg, required for midori
Diffstat (limited to 'package/icu4c/Makefile')
-rw-r--r--package/icu4c/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/icu4c/Makefile b/package/icu4c/Makefile
index 772e147b5..fe87c65b1 100644
--- a/package/icu4c/Makefile
+++ b/package/icu4c/Makefile
@@ -24,12 +24,14 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call HOST_template,ICU4C,icu4c,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,ICU4C,icu4c,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+CFLAGS_FOR_BUILD+= -fPIC
+CXXFLAGS_FOR_BUILD+= -fPIC
HOST_STYLE:= auto
HOST_CONFIGURE_ARGS+= --enable-extras=no \
--enable-samples=no \
--enable-tests=no \
- --enable-shared=no \
--enable-dyload=no \
+ --enable-shared=no \
--enable-static
CONFIGURE_ARGS+= --with-cross-build=${HOST_BUILD_DIR}/w-${PKG_NAME}-${PKG_VERSION}-${PKG_RELEASE}-host/icu/source \
--enable-extras=no \