# clang-12: warning: optimization flag '-ffat-lto-objects' is not supported [-Wignored-optimization-argument]
FLAGS="$(echo $FLAGS|sed 's/-flto=auto -ffat-lto-objects/-flto/')"
# ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol ...; recompile with -fPIC
# clang-12: warning: optimization flag '-ffat-lto-objects' is not supported [-Wignored-optimization-argument]
FLAGS="$(echo $FLAGS|sed 's/-flto=auto -ffat-lto-objects/-flto/')"
# ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol ...; recompile with -fPIC