Similar to r262306 for boot1's Makefile, clang spells -mcmodel=medany as
-mcmodel=large, for now. While here, disable -msoft-float for clang since it is not supported, and add -fno-dwarf2-cfi-asm to stop it from emitting .cfi directives, which GNU as does not support.
This commit is contained in:
parent
883d11a183
commit
90ce288afe
@ -93,7 +93,11 @@ INLINE_LIMIT?= 15000
|
||||
# operations which it has a tendency to do.
|
||||
#
|
||||
.if ${MACHINE_CPUARCH} == "sparc64"
|
||||
.if ${COMPILER_TYPE} == "clang"
|
||||
CFLAGS+= -mcmodel=large -fno-dwarf2-cfi-asm
|
||||
.else
|
||||
CFLAGS+= -mcmodel=medany -msoft-float
|
||||
.endif
|
||||
INLINE_LIMIT?= 15000
|
||||
.endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user