2010-11-07 Robert Millan <rmh@gnu.org>

On mips-yeeloong, build with -march=loongson2f when this flag is
	available (GCC >= 4.4).
	* conf/Makefile.common [COND_mips_yeeloong] (CFLAGS_PLATFORM): Remove
	`-march=mips3'.
	* configure.ac: For mips-yeeloong, add -march=loongson2f if available,
	or otherwise add -march=mips3.
This commit is contained in:
Robert Millan 2010-11-07 16:29:10 +01:00
parent 86643a242f
commit d2bf06bf34
3 changed files with 27 additions and 1 deletions

View file

@ -22,7 +22,7 @@ if COND_i386_ieee1275
CFLAGS_PLATFORM += -mrtd -mregparm=3
endif
if COND_mips_yeeloong
CFLAGS_PLATFORM += -march=mips3 -mexplicit-relocs
CFLAGS_PLATFORM += -mexplicit-relocs
CPPFLAGS_PLATFORM = -DUSE_ASCII_FAILBACK
CCASFLAGS_PLATFORM = -march=mips3
endif