regression on -current with llvm >= 11.0.x
by nobodino from LinuxQuestions.org on (#5CQV8)
one package doesn't build correctly with llvm>= 11.0.x
- libclc: before the line "CFLAGS="$SLKCFLAGS -D__extern_always_inline=inline" "
add the following lines:
-------------------------
# modification from debian because of llvm >= 11.0.x
sed -i -e '/-fno-builtin/p' configure.py
sed -i -e '0,/-fno-builtin/ s/-fno-builtin/-nostdlib/' configure.py
-------------------------


- libclc: before the line "CFLAGS="$SLKCFLAGS -D__extern_always_inline=inline" "
add the following lines:
-------------------------
# modification from debian because of llvm >= 11.0.x
sed -i -e '/-fno-builtin/p' configure.py
sed -i -e '0,/-fno-builtin/ s/-fno-builtin/-nostdlib/' configure.py
-------------------------