Don't add -mlong-calls when compiling with clang.

This commit is contained in:
Vladimir Serbinenko 2013-12-06 11:58:17 +01:00
parent 896f483d49
commit 4182262560
3 changed files with 17 additions and 1 deletions

View file

@ -11,7 +11,7 @@ if COND_sparc64_ieee1275
LDFLAGS_PLATFORM = -Wl,-melf64_sparc -mno-relax
endif
if COND_arm
CFLAGS_PLATFORM += -mthumb-interwork -mlong-calls
CFLAGS_PLATFORM += -mthumb-interwork
CCASFLAGS_PLATFORM = -mthumb-interwork
LDFLAGS_PLATFORM = -Wl,--wrap=__clear_cache
endif