Skip to content

Commit 323925b

Browse files
committed
Remove unneeded compile options.
In light of issue official-stockfish#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.
1 parent 5ba4373 commit 323925b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ endif
141141

142142
### 3.1 Selecting compiler (default = gcc)
143143

144-
CXXFLAGS += -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11 $(EXTRACXXFLAGS)
144+
CXXFLAGS += -Wall -Wcast-qual -std=c++11 $(EXTRACXXFLAGS)
145145
DEPENDFLAGS += -std=c++11
146146
LDFLAGS += $(EXTRALDFLAGS)
147147

0 commit comments

Comments
 (0)