From a01131d813946a99aa5206633a524855c3b6f58c Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Mon, 22 Jun 2009 22:19:16 +0200
Subject: fix make allmodconfig on mips (rb532)

---
 package/rrs/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'package/rrs')

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
 
-- 
cgit v1.2.3