clang -O4 through -O9 ... leaves unknown file types for .o

Started changing my Makefile’s to use clang and ran into immediately, that the -O number following it doesn’t work if it is greater than 3.

Yeah, gcc just makes it -O3 and continues.

For compatibility … perhaps clang should too.

Thanks!

(New to this e-mail list, can one search the archives, or just read them?)

This file type is known actually - it's LLVM bitcode intended for use in LTO, enabled by -O4.