mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Bump the C++ version from C++11 to C++17
This will allow the usage of more modern features in the future.
This commit is contained in:
@@ -70,7 +70,7 @@ unit_tests_LDFLAGS = \
|
||||
|
||||
|
||||
unit_tests_CPPFLAGS = \
|
||||
-std=c++11 \
|
||||
-std=c++17 \
|
||||
-Icommon \
|
||||
-I../ \
|
||||
-g \
|
||||
@@ -126,7 +126,7 @@ regression_tests_LDFLAGS = \
|
||||
|
||||
|
||||
regression_tests_CPPFLAGS = \
|
||||
-std=c++11 \
|
||||
-std=c++17 \
|
||||
-Icommon \
|
||||
-I../ \
|
||||
-g \
|
||||
@@ -179,7 +179,7 @@ rules_optimization_LDFLAGS = \
|
||||
$(YAJL_LDFLAGS)
|
||||
|
||||
rules_optimization_CPPFLAGS = \
|
||||
-std=c++11 \
|
||||
-std=c++17 \
|
||||
-Icommon \
|
||||
-I../ \
|
||||
-g \
|
||||
|
@@ -32,7 +32,7 @@ benchmark_LDFLAGS = \
|
||||
$(LUA_LDFLAGS)
|
||||
|
||||
benchmark_CPPFLAGS = \
|
||||
-std=c++11 \
|
||||
-std=c++17 \
|
||||
-I$(top_builddir)/headers \
|
||||
$(GLOBAL_CPPFLAGS) \
|
||||
$(PCRE_CFLAGS) \
|
||||
|
@@ -30,7 +30,7 @@ afl_fuzzer_LDADD = \
|
||||
|
||||
|
||||
afl_fuzzer_CPPFLAGS = \
|
||||
-std=c++11 \
|
||||
-std=c++17 \
|
||||
-Icommon \
|
||||
-I../ \
|
||||
-I../../ \
|
||||
|
Reference in New Issue
Block a user