mirror of https://github.com/hak5/openwrt-owl.git
parent
56dbeb781e
commit
8726a422cd
|
@ -47,7 +47,7 @@ endef
|
||||||
HOST_CONFIGURE_VARS = \
|
HOST_CONFIGURE_VARS = \
|
||||||
CC="$(HOSTCC)" \
|
CC="$(HOSTCC)" \
|
||||||
CFLAGS="$(HOST_CFLAGS)" \
|
CFLAGS="$(HOST_CFLAGS)" \
|
||||||
CPPFLAGS="$(HOST_CFLAGS)" \
|
CPPFLAGS="$(HOST_CPPFLAGS)" \
|
||||||
LDFLAGS="$(HOST_LDFLAGS)" \
|
LDFLAGS="$(HOST_LDFLAGS)" \
|
||||||
SHELL="$(BASH)"
|
SHELL="$(BASH)"
|
||||||
|
|
||||||
|
|
3
rules.mk
3
rules.mk
|
@ -173,7 +173,8 @@ PKG_CONFIG:=$(STAGING_DIR_HOST)/bin/pkg-config
|
||||||
export PKG_CONFIG
|
export PKG_CONFIG
|
||||||
|
|
||||||
HOSTCC:=gcc
|
HOSTCC:=gcc
|
||||||
HOST_CFLAGS:=-O2 -I$(STAGING_DIR_HOST)/include
|
HOST_CPPFLAGS:=-I$(STAGING_DIR_HOST)/include
|
||||||
|
HOST_CFLAGS:=-O2 $(HOST_CPPFLAGS)
|
||||||
HOST_LDFLAGS:=-L$(STAGING_DIR_HOST)/lib
|
HOST_LDFLAGS:=-L$(STAGING_DIR_HOST)/lib
|
||||||
|
|
||||||
TARGET_CC:=$(TARGET_CROSS)gcc
|
TARGET_CC:=$(TARGET_CROSS)gcc
|
||||||
|
|
Loading…
Reference in New Issue