aboutsummaryrefslogtreecommitdiff
path: root/libraries/re2/do-not-find-googletest-and-benchmark.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/re2/do-not-find-googletest-and-benchmark.patch')
-rw-r--r--libraries/re2/do-not-find-googletest-and-benchmark.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/re2/do-not-find-googletest-and-benchmark.patch b/libraries/re2/do-not-find-googletest-and-benchmark.patch
index 4f7eecbfcd..4beeb0b3c5 100644
--- a/libraries/re2/do-not-find-googletest-and-benchmark.patch
+++ b/libraries/re2/do-not-find-googletest-and-benchmark.patch
@@ -18,9 +18,9 @@
CXXFLAGS?=-O3 -g
LDFLAGS?=
# required
--RE2_CXXFLAGS?=-pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. $(CCABSL) $(CCICU) $(CCGTEST) $(CCBENCHMARK) $(CCPCRE)
+-RE2_CXXFLAGS?=-std=c++17 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. $(CCABSL) $(CCICU) $(CCGTEST) $(CCBENCHMARK) $(CCPCRE)
-RE2_LDFLAGS?=-pthread $(LDABSL) $(LDICU) $(LDGTEST) $(LDBENCHMARK) $(LDPCRE)
-+RE2_CXXFLAGS?=-pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. $(CCABSL) $(CCICU) $(CCPCRE)
++RE2_CXXFLAGS?=-std=c++17 -pthread -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I. $(CCABSL) $(CCICU) $(CCPCRE)
+RE2_LDFLAGS?=-pthread $(LDABSL) $(LDICU) $(LDPCRE)
AR?=ar
ARFLAGS?=rsc