diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-01-28 00:46:40 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-01-28 00:46:40 +0000 |
commit | 4bd7212cd30e18f0ebb9c2f875b2c2a5256b0306 (patch) | |
tree | a5822f263b5636bdaa74195b9f34488e7b7a02db /Makefile.rules | |
parent | c58192d0372785dbe0f47aeb734a76ec9a573199 (diff) |
Default to -code-model=small for x86_64 JIT on Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@94711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index 32c79f28..24740c28 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -363,6 +363,9 @@ LLI_OPTFLAGS := -O3 ifdef PIC_CODEGEN TARGET_LLCFLAGS += -relocation-model=pic -disable-fp-elim TARGET_LLIFLAGS += -relocation-model=pic -disable-fp-elim + ifeq ($(TARGET_OS),Darwin) + TARGET_LLIFLAGS += -code-model=small + endif else TARGET_FLAGS += -fomit-frame-pointer ifeq ($(TARGET_OS),Darwin) |