diff options
author | John Crispin <blogic@openwrt.org> | 2014-10-20 06:29:21 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-10-20 06:29:21 +0000 |
commit | ff763853bc37c7ba80a2a824793a509420d7082d (patch) | |
tree | bd0436ee283d696ca9c00f4e219faeea909bf329 /rules.mk | |
parent | a5fc2d42b82379d31d67a396d7f2369a935b3ecf (diff) | |
download | upstream-ff763853bc37c7ba80a2a824793a509420d7082d.tar.gz upstream-ff763853bc37c7ba80a2a824793a509420d7082d.tar.bz2 upstream-ff763853bc37c7ba80a2a824793a509420d7082d.zip |
build: add $(STAGING_DIR_HOST)/usr/{include, lib} to build search path.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42987 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -187,9 +187,9 @@ export PKG_CONFIG HOSTCC:=gcc HOSTCXX:=g++ -HOST_CPPFLAGS:=-I$(STAGING_DIR_HOST)/include +HOST_CPPFLAGS:=-I$(STAGING_DIR_HOST)/include -I$(STAGING_DIR_HOST)/usr/include HOST_CFLAGS:=-O2 $(HOST_CPPFLAGS) -HOST_LDFLAGS:=-L$(STAGING_DIR_HOST)/lib +HOST_LDFLAGS:=-L$(STAGING_DIR_HOST)/lib -L$(STAGING_DIR_HOST)/usr/lib TARGET_CC:=$(TARGET_CROSS)gcc TARGET_AR:=$(TARGET_CROSS)ar |