]> git.sesse.net Git - stockfish/commit
Allow passing RTLIB=compiler-rt to make
authorPaul Mulders <justinkb@gmail.com>
Tue, 29 Jun 2021 09:13:54 +0000 (11:13 +0200)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sat, 3 Jul 2021 07:51:03 +0000 (09:51 +0200)
commit516ad1c9bf7dceeeb055e250d8cd83598c01a531
tree76f1bbbaa959d83202d2b6c0194f86e59e5370f1
parentec8dfe7315c865053afb198af2f1231a551c2c26
Allow passing RTLIB=compiler-rt to make

Not all linux users will have libatomic installed.
When using clang as the system compiler with compiler-rt as the default
runtime library instead of libgcc, atomic builtins may be provided by compiler-rt.
This change allows such users to pass RTLIB=compiler-rt to make sure
the build doesn't error out on the missing (unnecessary) libatomic.

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

No functional change
src/Makefile