Experimental support for clang for sparc64.

Automatically discover command line options to make clang and
gcc behave in same way.

Tested with qemu.
This commit is contained in:
Vladimir Serbinenko 2015-02-22 01:53:00 +01:00
parent ebe316e4df
commit 155f334f57
3 changed files with 55 additions and 10 deletions

View file

@ -7,12 +7,7 @@ unexport LC_ALL
# Platform specific options
if COND_sparc64_ieee1275
CFLAGS_PLATFORM += -mno-app-regs
LDFLAGS_PLATFORM = -Wl,-melf64_sparc -mno-relax
endif
if COND_sparc64_emu
CFLAGS_PLATFORM += -mno-app-regs
LDFLAGS_PLATFORM = -Wl,--no-relax
LDFLAGS_PLATFORM = -Wl,-melf64_sparc
endif
if COND_arm
if !COND_emu