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 bb96b13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cross/ripgrep/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ CARGO_BUILD_ARGS += --features 'pcre2'
include ../../mk/spksrc.common.mk
ifeq ($(call version_lt, $(TCVERSION), 7),1)
# upstream/src/pcre2_script_run.c - error: .... only allowed in C99 or C11 mode
ADDITIONAL_CFLAGS = -std=c99
ADDITIONAL_CFLAGS = -std=c11
else ifeq ($(findstring $(ARCH),comcerto2k),$(ARCH))
ADDITIONAL_CFLAGS = -std=c11
endif

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

0 comments on commit bb96b13

Please sign in to comment.