Skip to content
Snippets Groups Projects
Commit 8e7cb94b authored by Raymond Toy's avatar Raymond Toy
Browse files

Refactor xcode settings.

Define MEM_MODEL to hold the desired memory model option and use it
where it's needed.
parent d202e294
No related branches found
No related tags found
No related merge requests found
......@@ -18,14 +18,15 @@ include Config.sparc_common
# instructions, even if we don't use the 64-bit registers.
ifdef FEATURE_SPARC_V9
MEM_MODEL=-xcode=abs32
# For SunStudio 11, use -xarch=v8plus. For SunStudio 12, that is
# deprecated; use -m32 -xarch=sparc.
CC_V8PLUS = -m64
AS_V8PLUS = -m64
AS_V8PLUS = -m64 $(MEM_MODEL)
endif
ASSEM_SRC = sparc64-assem.S
CFLAGS += -xcode=abs32 -xlibmieee -O
CFLAGS += $(MEM_MODEL) -xlibmieee -O
DEPEND_FLAGS = -xM
ASFLAGS = $(AS_V8PLUS)
OS_LINK_FLAGS = -m64 -M /usr/lib/ld/map.noexstk
OS_LINK_FLAGS = -m64 $(MEM_MODEL) -M /usr/lib/ld/map.noexstk
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment