summaryrefslogtreecommitdiff
path: root/package/rrs
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-06-22 22:19:16 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-06-22 22:19:16 +0200
commita01131d813946a99aa5206633a524855c3b6f58c (patch)
treecb5ec95bac08a9f1c3831365498377a9484b3309 /package/rrs
parentf18f19d6a59974f5a92a4f52c0539c2ec3da4f96 (diff)
fix make allmodconfig on mips (rb532)
Diffstat (limited to 'package/rrs')
-rw-r--r--package/rrs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/rrs/Makefile b/package/rrs/Makefile
index b4c0df6db..fe16bdd2c 100644
--- a/package/rrs/Makefile
+++ b/package/rrs/Makefile
@@ -29,10 +29,10 @@ $(eval $(call PKG_template,RRS,rrs,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},
$(eval $(call PKG_template,RRS_NOSSL,rrs-nossl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_NOSSL},${PKG_DESCR},${PKG_SECTION}))
ifeq ($(ADK_COMPILE_RRS_WITH_UCLIBCXX),y)
-PKG_CFLAGS=-fno-builtin -fno-rtti -nostdinc++
+PKG_FLAGS=-fno-builtin -fno-rtti -nostdinc++ -fPIC
PKG_LDFLAGS=-nodefaultlibs -luClibc++ -lc -lm
else
-PKG_CFLAGS=
+PKG_FLAGS=-fPIC
PKG_LDFLAGS=-shared
endif