Mercurial > hg > truffle
comparison make/linux/makefiles/gcc.make @ 1692:d2ede61b7a12
6976186: integrate Shark HotSpot changes
Summary: Shark is a JIT compiler for Zero that uses the LLVM compiler infrastructure.
Reviewed-by: kvn, twisti
Contributed-by: Gary Benson <gbenson@redhat.com>
author | twisti |
---|---|
date | Wed, 11 Aug 2010 05:51:21 -0700 |
parents | 126ea7725993 |
children | f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1691:4a665be40fd3 | 1692:d2ede61b7a12 |
---|---|
1 # | 1 # |
2 # Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved. | 2 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # | 4 # |
5 # This code is free software; you can redistribute it and/or modify it | 5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as | 6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. | 7 # published by the Free Software Foundation. |
58 VM_PICFLAG/AOUT = | 58 VM_PICFLAG/AOUT = |
59 VM_PICFLAG = $(VM_PICFLAG/$(LINK_INTO)) | 59 VM_PICFLAG = $(VM_PICFLAG/$(LINK_INTO)) |
60 | 60 |
61 ifeq ($(ZERO_BUILD), true) | 61 ifeq ($(ZERO_BUILD), true) |
62 CFLAGS += $(LIBFFI_CFLAGS) | 62 CFLAGS += $(LIBFFI_CFLAGS) |
63 endif | |
64 ifeq ($(SHARK_BUILD), true) | |
65 CFLAGS += $(LLVM_CFLAGS) | |
63 endif | 66 endif |
64 CFLAGS += $(VM_PICFLAG) | 67 CFLAGS += $(VM_PICFLAG) |
65 CFLAGS += -fno-rtti | 68 CFLAGS += -fno-rtti |
66 CFLAGS += -fno-exceptions | 69 CFLAGS += -fno-exceptions |
67 CFLAGS += -D_REENTRANT | 70 CFLAGS += -D_REENTRANT |