< prev index next >
make/linux/makefiles/zeroshark.make
Print this page
*** 1,7 ****
#
! # Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
# Copyright 2007, 2008 Red Hat, Inc.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
--- 1,7 ----
#
! # Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright 2007, 2008 Red Hat, Inc.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
*** 23,34 ****
#
#
# Setup common to Zero (non-Shark) and Shark versions of VM
! # override this from the main file because some version of llvm do not like -Wundef
! WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wunused-function -Wunused-value
# If FDLIBM_CFLAGS is non-empty it holds CFLAGS needed to be passed to
# the compiler so as to be able to produce optimized objects
# without losing precision.
ifneq ($(FDLIBM_CFLAGS),)
--- 23,42 ----
#
#
# Setup common to Zero (non-Shark) and Shark versions of VM
! # Some versions of llvm do not like -Wundef
! ifeq ($(JVM_VARIANT_ZEROSHARK), true)
! WARNING_FLAGS += -Wno-undef
! endif
! # Suppress some warning flags that are normally turned on for hotspot,
! # because some of the zero code has not been updated accordingly.
! WARNING_FLAGS += -Wno-return-type \
! -Wno-format-nonliteral -Wno-format-security \
! -Wno-maybe-uninitialized
!
# If FDLIBM_CFLAGS is non-empty it holds CFLAGS needed to be passed to
# the compiler so as to be able to produce optimized objects
# without losing precision.
ifneq ($(FDLIBM_CFLAGS),)
*** 46,52 ****
# Specify that the CPU is 64 bit, if necessary
ifeq ($(ARCH_DATA_MODEL), 64)
CFLAGS += -D_LP64=1
endif
-
- OPT_CFLAGS/compactingPermGenGen.o = -O1
--- 54,58 ----
< prev index next >