mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
pcre: Disable JIT on riscv64
This architecture is not supporting this feature, yet Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
31
lfs/pcre
31
lfs/pcre
@@ -32,6 +32,24 @@ DL_FROM = $(URL_IPFIRE)
|
|||||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||||
|
|
||||||
|
CONFIGURE_ARGS = \
|
||||||
|
--prefix=/usr \
|
||||||
|
--disable-static \
|
||||||
|
--enable-utf8 \
|
||||||
|
--enable-pcre16 \
|
||||||
|
--enable-pcre32 \
|
||||||
|
--enable-pcregrep-libz \
|
||||||
|
--enable-pcregrep-libbz2 \
|
||||||
|
--enable-pcretest-libreadline \
|
||||||
|
--enable-unicode-properties \
|
||||||
|
--docdir=/usr/share/doc/pcre-$(THISAPP)
|
||||||
|
|
||||||
|
ifeq "$(BUILD_ARCH)" "riscv64"
|
||||||
|
CONFIGURE_ARGS += --disable-jit
|
||||||
|
else
|
||||||
|
CONFIGURE_ARGS += --enable-jit
|
||||||
|
endif
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Top-level Rules
|
# Top-level Rules
|
||||||
###############################################################################
|
###############################################################################
|
||||||
@@ -70,18 +88,7 @@ $(subst %,%_MD5,$(objects)) :
|
|||||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||||
@$(PREBUILD)
|
@$(PREBUILD)
|
||||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
||||||
cd $(DIR_APP) && ./configure \
|
cd $(DIR_APP) && ./configure $(CONFIGURE_ARGS)
|
||||||
--prefix=/usr \
|
|
||||||
--disable-static \
|
|
||||||
--enable-utf8 \
|
|
||||||
--enable-jit \
|
|
||||||
--enable-pcre16 \
|
|
||||||
--enable-pcre32 \
|
|
||||||
--enable-pcregrep-libz \
|
|
||||||
--enable-pcregrep-libbz2 \
|
|
||||||
--enable-pcretest-libreadline \
|
|
||||||
--enable-unicode-properties \
|
|
||||||
--docdir=/usr/share/doc/pcre-$(THISAPP)
|
|
||||||
cd $(DIR_APP) && make $(MAKETUNING)
|
cd $(DIR_APP) && make $(MAKETUNING)
|
||||||
cd $(DIR_APP) && make install
|
cd $(DIR_APP) && make install
|
||||||
@rm -rf $(DIR_APP)
|
@rm -rf $(DIR_APP)
|
||||||
|
|||||||
Reference in New Issue
Block a user