From: ppigazzini Date: Sun, 22 Aug 2021 13:44:30 +0000 (+0200) Subject: Use "pedantic" flag also for mingw X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=f30f231cbf74ddefd7881a653d0941a119c9b1bb;p=stockfish Use "pedantic" flag also for mingw This will avoid to run in fishtest a test where the linux machines exit from the building process and only the windows machines run the test. See: https://tests.stockfishchess.org/tests/view/61122d732a8a49ac5be79996 https://github.com/SFisGOD/Stockfish/commit/4e422577d6ebd1f6ecf606189190b8f6fb03f6c9#comments closes https://github.com/official-stockfish/Stockfish/pull/3671 No functional change. --- diff --git a/src/Makefile b/src/Makefile index 901ddd92..d92854bc 100644 --- a/src/Makefile +++ b/src/Makefile @@ -368,7 +368,7 @@ ifeq ($(COMP),mingw) CXX=g++ endif - CXXFLAGS += -Wextra -Wshadow + CXXFLAGS += -pedantic -Wextra -Wshadow LDFLAGS += -static endif