summaryrefslogtreecommitdiff
path: root/package/oprofile/Makefile
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/oprofile/Makefile
parentf18f19d6a59974f5a92a4f52c0539c2ec3da4f96 (diff)
fix make allmodconfig on mips (rb532)
Diffstat (limited to 'package/oprofile/Makefile')
-rw-r--r--package/oprofile/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/oprofile/Makefile b/package/oprofile/Makefile
index 6b8b720a4..0e680b4ea 100644
--- a/package/oprofile/Makefile
+++ b/package/oprofile/Makefile
@@ -18,6 +18,8 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,OPROFILE,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
TLDFLAGS+= -shared
+TCFLAGS+= -fPIC
+TCXXFLAGS+= -fPIC
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-kernel-support --with-linux=${LINUX_DIR}
BUILD_STYLE= auto