aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/devel/strace/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/devel/strace/Makefile b/package/devel/strace/Makefile
index eb80791b26..b9ed201bba 100644
--- a/package/devel/strace/Makefile
+++ b/package/devel/strace/Makefile
@@ -27,6 +27,12 @@ PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
+CONFIGURE_VARS+= \
+ LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
+ CPPFLAGS_FOR_BUILD="$(HOST_CPPFLAGS)" \
+ CFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \
+ CC_FOR_BUILD="$(HOST_CC)"
+
define Package/strace
SECTION:=utils
CATEGORY:=Utilities