Don't add -mflush-func if it's not supported by compiler.

This commit is contained in:
Vladimir Serbinenko 2013-11-23 12:40:44 +01:00
parent 1bba40f578
commit f93ddcfd1c
3 changed files with 19 additions and 3 deletions

View file

@ -10,9 +10,6 @@ if COND_mips_loongson
CFLAGS_PLATFORM += -mexplicit-relocs
CPPFLAGS_PLATFORM = -DUSE_ASCII_FALLBACK
endif
if COND_mips
CFLAGS_PLATFORM += -mflush-func=grub_red_herring
endif
if COND_sparc64_ieee1275
CFLAGS_PLATFORM += -mno-app-regs
LDFLAGS_PLATFORM = -Wl,-melf64_sparc -mno-relax