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.
This commit is contained in:
ppigazzini
2021-08-22 15:44:30 +02:00
committed by Joost VandeVondele
parent af0d82792e
commit f30f231cbf
+1 -1
View File
@@ -368,7 +368,7 @@ ifeq ($(COMP),mingw)
CXX=g++
endif
CXXFLAGS += -Wextra -Wshadow
CXXFLAGS += -pedantic -Wextra -Wshadow
LDFLAGS += -static
endif