make/linux/makefiles/zeroshark.make

changeset 9744
b02fb6a07ed5
parent 9673
7cbcb271bad7
child 9756
2be326848943
equal deleted inserted replaced
9743:657162a310c4 9744:b02fb6a07ed5
1 # 1 #
2 # Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. 2 # Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
3 # Copyright 2007, 2008 Red Hat, Inc. 3 # Copyright 2007, 2008 Red Hat, Inc.
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # 5 #
6 # This code is free software; you can redistribute it and/or modify it 6 # This code is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License version 2 only, as 7 # under the terms of the GNU General Public License version 2 only, as
23 # 23 #
24 # 24 #
25 25
26 # Setup common to Zero (non-Shark) and Shark versions of VM 26 # Setup common to Zero (non-Shark) and Shark versions of VM
27 27
28 # override this from the main file because some version of llvm do not like -Wundef 28 # Some versions of llvm do not like -Wundef
29 WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wunused-function -Wunused-value 29 ifeq ($(JVM_VARIANT_ZEROSHARK), true)
30 WARNING_FLAGS += -Wno-undef
31 endif
32 # Suppress some warning flags that are normally turned on for hotspot,
33 # because some of the zero code has not been updated accordingly.
34 WARNING_FLAGS += -Wno-return-type \
35 -Wno-format-nonliteral -Wno-format-security \
36 -Wno-maybe-uninitialized
37
30 38
31 # If FDLIBM_CFLAGS is non-empty it holds CFLAGS needed to be passed to 39 # If FDLIBM_CFLAGS is non-empty it holds CFLAGS needed to be passed to
32 # the compiler so as to be able to produce optimized objects 40 # the compiler so as to be able to produce optimized objects
33 # without losing precision. 41 # without losing precision.
34 ifneq ($(FDLIBM_CFLAGS),) 42 ifneq ($(FDLIBM_CFLAGS),)
46 54
47 # Specify that the CPU is 64 bit, if necessary 55 # Specify that the CPU is 64 bit, if necessary
48 ifeq ($(ARCH_DATA_MODEL), 64) 56 ifeq ($(ARCH_DATA_MODEL), 64)
49 CFLAGS += -D_LP64=1 57 CFLAGS += -D_LP64=1
50 endif 58 endif
51
52 OPT_CFLAGS/compactingPermGenGen.o = -O1

mercurial