Changed -Os to -O2, added -mno-thumb-interwork.