summaryrefslogtreecommitdiff
path: root/package/oprofile/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-06-25 21:08:41 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-06-25 21:08:41 +0200
commit5cdeab06fe5b553185040d125da74b12f5ac6442 (patch)
tree91f2012fa4a7f13f4f6e87e13e5c854fea251fe4 /package/oprofile/Makefile
parentc98552118a8925f3927056294418543cdba736f7 (diff)
parent6f58e88ce0c721c8954898f81c9fbf8088fcba13 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
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