Fix Makefile for clang 16
authorSebastian Buchwald <UniQP@web.de>
Sat, 11 Mar 2023 21:08:35 +0000 (22:08 +0100)
committerFabian Fichter <ianfab@users.noreply.github.com>
Sat, 10 Feb 2024 11:11:09 +0000 (12:11 +0100)
commit052dce6a150c5dfc4a4775fc23319028904a86ab
treeddf6ba6e478ef8615961549e5eaf11b49ad0634d
parent6c8fb4630cc3a3771b6f7e7fa723464c1795a037
Fix Makefile for clang 16

The clang 16 release will remove the -fexperimental-new-pass-manager
flag (see https://github.com/llvm/llvm-project/commit/69b2b7282e92a1b576b7bd26f3b16716a5027e8e).
Thus, the commit adapts the Makefile to use this flag only for older
clang versions.

closes https://github.com/official-stockfish/Stockfish/pull/4437

No functional change
src/Makefile