Commit | Line | Data |
---|---|---|
429acdec RS |
1 | # We default to building libraries optimised for size. We switch off |
2 | # sibling-call optimization to permit interlinking of MIPS16 and | |
8f138f68 RS |
3 | # non-MIPS16 functions. The -mcode-xonly option allows MIPS16 libraries |
4 | # to run on Harvard-style split I/D memories, so long as they have the | |
5 | # D-to-I redirect for PC-relative loads. -mno-gpopt has two purposes: | |
6 | # it allows libraries to be used in situations where $gp != our _gp, | |
7 | # and it allows them to be built with -G8 while retaining link compability | |
8 | # with -G0 and -G4. | |
9 | CFLAGS_FOR_TARGET = -Os -fno-optimize-sibling-calls -mcode-xonly -mno-gpopt | |
10 | CXXFLAGS_FOR_TARGET = -Os -fno-optimize-sibling-calls -mcode-xonly -mno-gpopt |