Explicitly disable GCC's -Wmisleading-indentation

This commit is contained in:
2021-07-19 09:12:36 +02:00
parent 7de8c84e8f
commit 3eea106c3c
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
.POSIX:
SHELL = /bin/sh
CXXFLAGS = -g -std=c++14 -Wall -Wextra -pedantic
CXXFLAGS = -g -std=c++14 -Wall -Wextra -Wno-misleading-indentation -pedantic
CPPFLAGS = `sed -ne '/^project (\([^ )]*\) VERSION \([^ )]*\).*/ \
s//-DPROJECT_NAME="\1" -DPROJECT_VERSION="\2"/p' CMakeLists.txt`