equal
deleted
inserted
replaced
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 |