From: Joost VandeVondele Date: Fri, 1 Sep 2017 19:24:32 +0000 (+0200) Subject: Remove unneeded compile options. X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=323925b91c49449ec2f0eee8d85b7a51d6472ea3 Remove unneeded compile options. In light of issue #1232, a test was performed about the value of '-fno-exceptions' and a second one of the combination '-fno-exceptions -fno-rtti'. It turns out these options are can be removed without introducing slowdown. STC for removing '-fno-exceptions' LLR: 2.94 (-2.94,2.94) [-3.00,1.00] Total: 13678 W: 2572 L: 2439 D: 8667 STC for removing '-fno-exceptions -fno-rtti' (current patch) LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 32557 W: 6074 L: 5973 D: 20510 No functional change. --- diff --git a/src/Makefile b/src/Makefile index 6eb96461..d6cdeca3 100644 --- a/src/Makefile +++ b/src/Makefile @@ -141,7 +141,7 @@ endif ### 3.1 Selecting compiler (default = gcc) -CXXFLAGS += -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11 $(EXTRACXXFLAGS) +CXXFLAGS += -Wall -Wcast-qual -std=c++11 $(EXTRACXXFLAGS) DEPENDFLAGS += -std=c++11 LDFLAGS += $(EXTRALDFLAGS)