Skip to content

Commit

Permalink
fix synocli-file (ripgrep) for comcerto2k-7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hgy59 committed Jan 15, 2024
1 parent 6d615f9 commit ce1547f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cross/ripgrep/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ ENV += PCRE2_SYS_STATIC=1
CARGO_BUILD_ARGS += --features 'pcre2'

include ../../mk/spksrc.common.mk
ifeq ($(call version_lt, $(TCVERSION), 7),1)
ifeq ($(call version_le, $(TC_GCC), 5.0),1)
# upstream/src/pcre2_script_run.c - error: .... only allowed in C99 or C11 mode
ADDITIONAL_CFLAGS = -std=c99
ADDITIONAL_CFLAGS = -std=c11
endif

include ../../mk/spksrc.cross-rust.mk

0 comments on commit ce1547f

Please sign in to comment.