mirror of
https://https.git.savannah.gnu.org/git/gettext.git
synced 2026-01-27 01:44:30 +00:00
build: Make it possible to compile tree-sitter with GCC 11 in 1 GB of RAM.
* gettext-tools/src/Makefile.am (libxgettextts1_a_CFLAGS, libxgettextts2_a_CFLAGS): New variables.
This commit is contained in:
parent
4e82634a07
commit
befbca48b0
@ -244,11 +244,13 @@ libxgettextts1_a_SOURCES = \
|
||||
libxgettextts1_a_CPPFLAGS = \
|
||||
-I$(top_srcdir)/tree-sitter-$(TREE_SITTER_VERSION)/lib/include \
|
||||
-I$(top_srcdir)/tree-sitter-$(TREE_SITTER_VERSION)/lib/src
|
||||
libxgettextts1_a_CFLAGS = $(AM_CFLAGS) @FOREIGN_WARN_CFLAGS@ @NO_EXPENSIVE_WARN_CFLAGS@
|
||||
libxgettextts2_a_SOURCES = \
|
||||
../tree-sitter-rust-$(TREE_SITTER_RUST_VERSION)/src/rust-parser.c \
|
||||
../tree-sitter-rust-$(TREE_SITTER_RUST_VERSION)/src/rust-scanner.c
|
||||
libxgettextts2_a_CPPFLAGS = \
|
||||
-I$(top_srcdir)/tree-sitter-$(TREE_SITTER_VERSION)/lib/include
|
||||
libxgettextts2_a_CFLAGS = $(AM_CFLAGS) @FOREIGN_WARN_CFLAGS@ @NO_EXPENSIVE_WARN_CFLAGS@
|
||||
|
||||
# msggrep needs pattern matching.
|
||||
LIBGREP = ../libgrep/libgrep.a
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user