mirror of https://github.com/hak5/openwrt.git
build: add $(STAGING_DIR_HOST)/usr/{include, lib} to build search path.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 42987lede-17.01
parent
7322fe161a
commit
7557afa9a5
4
rules.mk
4
rules.mk
|
@ -187,9 +187,9 @@ export PKG_CONFIG
|
||||||
|
|
||||||
HOSTCC:=gcc
|
HOSTCC:=gcc
|
||||||
HOSTCXX:=g++
|
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_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_CC:=$(TARGET_CROSS)gcc
|
||||||
TARGET_AR:=$(TARGET_CROSS)ar
|
TARGET_AR:=$(TARGET_CROSS)ar
|
||||||
|
|
Loading…
Reference in New Issue