I didn’t see this: clang: error: unknown argument: '-02'. It should be -O2 (the letter O, not the number 0).
clang: error: unknown argument: '-02'
-O2
O
0