Skip to content
Snippets Groups Projects
Commit 1e44e052 authored by nbd's avatar nbd
Browse files

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: default avatarLawrence D'Anna <larry@elder-gods.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46422 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent d7e94ea1
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment