Handle cross-compilation
Guesstimate that --with-yielding_select=yes. Change-Id: I44c91c41b5f46ee4e969065b8c5e7c0c01899286
This commit is contained in:
parent
c96b4c550d
commit
af1f02a85d
1 changed files with 6 additions and 0 deletions
|
@ -37,6 +37,11 @@ PATCH_FILES=\
|
|||
CONFIGURE_DIR=
|
||||
CONFIGURE_ACTION=.$/configure
|
||||
CONFIGURE_FLAGS=--disable-slapd --with-pic --with-tls=moznss --without-cyrus-sasl --disable-shared --enable-static
|
||||
|
||||
.IF "$(CROSS_COMPILING)"=="YES"
|
||||
CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) --with-yielding_select=yes
|
||||
.ENDIF
|
||||
|
||||
.IF "$(SYSTEM_NSS)" == "YES"
|
||||
CONFIGURE_FLAGS+=CPPFLAGS="$(NSS_CFLAGS)" CFLAGS="$(NSS_CFLAGS)" LDFLAGS="$(NSS_LIBS)"
|
||||
.ELSE
|
||||
|
@ -44,6 +49,7 @@ CONFIGURE_FLAGS+=CPPFLAGS="-I $(SOLARVER)$/$(INPATH)$/inc$/mozilla$/nss -I $(SOL
|
|||
CONFIGURE_FLAGS+=CFLAGS="-I $(SOLARVER)$/$(INPATH)$/inc$/mozilla$/nss -I $(SOLARVER)$/$(INPATH)$/inc$/mozilla$/nspr"
|
||||
CONFIGURE_FLAGS+=LDFLAGS="-L$(SOLARVER)$/$(INPATH)$/lib"
|
||||
.ENDIF
|
||||
|
||||
BUILD_FLAGS+= -j$(EXTMAXPROCESS)
|
||||
BUILD_DIR=$(CONFIGURE_DIR)
|
||||
BUILD_ACTION=$(GNUMAKE)
|
||||
|
|
Loading…
Reference in a new issue