util: Disable usage of __attribute__((__const__)) when the compiler is clang
Clang didn't implement attribute((const)) properly for release build. The issue tracker is: https://github.com/llvm/llvm-project/issues/56993
Closes #6781 (closed) Closes #6782 (closed)
Signed-off-by: Yonggang Luo luoyonggang@gmail.com Reviewed-by: Jason Ekstrand jason.ekstrand@collabora.com
cc @jekstrand waiting for bot:)
Cc: mesa-stable
Edited by Yonggang Luo