From 5c322ed6cf364bde48fb290749fb3c257c51d912 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Thu, 4 Jun 2020 16:59:24 +0300 Subject: [PATCH] mdbx-make: fix '-std=c++17' typo. Change-Id: Ibdc888ba4a2b005080ce4ac47a521ea8bcbd9e0a --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 06a00f16..5d02dce8 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -125,7 +125,7 @@ TEST_SRC := test/osal-$(TEST_OSAL).cc $(filter-out $(wildcard test/osal-*.cc), TEST_INC := $(wildcard test/*.h) TEST_OBJ := $(patsubst %.cc,%.o,$(TEST_SRC)) CXX ?= g++ -CXXSTD ?= $(shell $(CXX) -std=c++27 -c test/test.cc -o /dev/null 2>/dev/null && echo -std=c++17 || echo -std=c++11) +CXXSTD ?= $(shell $(CXX) -std=c++17 -c test/test.cc -o /dev/null 2>/dev/null && echo -std=c++17 || echo -std=c++11) CXXFLAGS := $(CXXSTD) $(filter-out -std=gnu11,$(CFLAGS)) TAR ?= $(shell which gnu-tar || echo tar) CLANG_FORMAT ?= $(shell (which clang-format-12 || which clang-format-11 || which clang-format-10 || which clang-format) 2>/dev/null)