diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-07-19 14:59:09 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-07-19 14:59:09 +0000 |
commit | 51ab7ade4e0e2a99e898510f093a3d96f75e7e35 (patch) | |
tree | 5ed8acf0fbe49fff733d024406abff7b36d5793c /package/devel/strace/Makefile | |
parent | 26d71e9b25f91549ba00223bc4c920ff17475a9f (diff) | |
download | mtk-20170518-51ab7ade4e0e2a99e898510f093a3d96f75e7e35.zip mtk-20170518-51ab7ade4e0e2a99e898510f093a3d96f75e7e35.tar.gz mtk-20170518-51ab7ade4e0e2a99e898510f093a3d96f75e7e35.tar.bz2 |
strace: cross compile fix: pass HOST_*FLAGS in to ./configure
The HOST_*FLAGS are for compiling programs which will run on the machine that is
running the build. Setting these flags is frequently required for unusual
cross-compiles.
Signed-off-by: Lawrence D'Anna <larry@elder-gods.org>
SVN-Revision: 46422
Diffstat (limited to 'package/devel/strace/Makefile')
-rw-r--r-- | package/devel/strace/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/devel/strace/Makefile b/package/devel/strace/Makefile index eb80791..b9ed201 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 |