]> git.sesse.net Git - stockfish/blobdiff - src/Makefile
Enable New Pass Manager for Clang.
[stockfish] / src / Makefile
index 827ce6bb9d838930708ab6542ce04b89c411e014..1ff03f8391acca25bc4e3c5af9938d3408aa062d 100644 (file)
@@ -481,6 +481,10 @@ ifeq ($(optimize),yes)
                        CXXFLAGS += -mdynamic-no-pic
                endif
        endif
+
+       ifeq ($(comp),clang)
+               CXXFLAGS += -fexperimental-new-pass-manager
+       endif
 endif
 
 ### 3.4 Bits