Fixes build failure on Apple M1 Silicon
authorGeorge Sobala <gsobala@gmail.com>
Mon, 13 Dec 2021 16:05:35 +0000 (16:05 +0000)
committerStéphane Nicolet <cassio@free.fr>
Sun, 19 Dec 2021 10:43:18 +0000 (11:43 +0100)
commitca51b456493a4663b2d0f82273f67a3e499244a1
tree053222276603666ca73c5d5b9562497ef9b908d1
parentfb7d3ab32ebd7a6514bded459b4aa442276f6cda
Fixes build failure on Apple M1 Silicon

This pull request selectively avoids `-mdynamic-no-pic` for gcc on Apple Silicon
(there was no problem with the default clang compiler).

fixes https://github.com/official-stockfish/Stockfish/issues/3847
closes https://github.com/official-stockfish/Stockfish/pull/3850

No functional change
src/Makefile