mirror of
https://github.com/spicyjpeg/573in1.git
synced 2025-01-22 19:52:05 +01:00
10 lines
478 B
Plaintext
10 lines
478 B
Plaintext
# As clang/clangd's MIPS-I support is still experimental, some minor changes to
|
|
# the GCC arguments it picks up from CMake are required in order to prevent it
|
|
# from erroring out. Additionally, specifying the target architecture manually
|
|
# fixes some edge cases (such as CMake emitting 8.3 format paths on Windows and
|
|
# breaking clangd's target autodetection).
|
|
|
|
CompileFlags:
|
|
Add: [ --target=mipsel-none-elf, -march=mips1 ]
|
|
Remove: [ -march, -mno-llsc, -mdivide-breaks ]
|