summaryrefslogtreecommitdiff
path: root/package/oprofile
diff options
context:
space:
mode:
Diffstat (limited to 'package/oprofile')
-rw-r--r--package/oprofile/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/oprofile/Makefile b/package/oprofile/Makefile
index f14d8c721..dbb2cf3cc 100644
--- a/package/oprofile/Makefile
+++ b/package/oprofile/Makefile
@@ -26,6 +26,8 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,OPROFILE,oprofile,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
TARGET_LDFLAGS+= -lpthread
+CONFIGURE_ARGS+= --with-binutils-libname=binutils \
+ --with-binutils=${STAGING_TARGET_DIR}/usr/lib
oprofile-install:
$(INSTALL_DIR) $(IDIR_OPROFILE)/usr/{bin,share}