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:
parent
ebe316e4df
commit
155f334f57
3 changed files with 55 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue