make/linux/makefiles/fastdebug.make

Sat, 12 Sep 2009 12:50:07 +0100

author
andrew
date
Sat, 12 Sep 2009 12:50:07 +0100
changeset 1406
0fc81f0a8ca8
parent 631
d1605aabd0a1
child 1558
167c2986d91b
permissions
-rw-r--r--

6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk
Summary: The build fails if the bootstrap JDK defaults to <1.5
Reviewed-by: jcoomes

duke@435 1 #
xdono@631 2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.
duke@435 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@435 4 #
duke@435 5 # This code is free software; you can redistribute it and/or modify it
duke@435 6 # under the terms of the GNU General Public License version 2 only, as
duke@435 7 # published by the Free Software Foundation.
duke@435 8 #
duke@435 9 # This code is distributed in the hope that it will be useful, but WITHOUT
duke@435 10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@435 11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@435 12 # version 2 for more details (a copy is included in the LICENSE file that
duke@435 13 # accompanied this code).
duke@435 14 #
duke@435 15 # You should have received a copy of the GNU General Public License version
duke@435 16 # 2 along with this work; if not, write to the Free Software Foundation,
duke@435 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@435 18 #
duke@435 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
duke@435 20 # CA 95054 USA or visit www.sun.com if you need additional information or
duke@435 21 # have any questions.
duke@435 22 #
duke@435 23 #
duke@435 24
duke@435 25 # Sets make macros for making debug version of VM
duke@435 26
duke@435 27 # Compiler specific OPT_CFLAGS are passed in from gcc.make, sparcWorks.make
duke@435 28 OPT_CFLAGS/DEFAULT= $(OPT_CFLAGS)
duke@435 29 OPT_CFLAGS/BYFILE = $(OPT_CFLAGS/$@)$(OPT_CFLAGS/DEFAULT$(OPT_CFLAGS/$@))
duke@435 30
duke@435 31 # (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files)
duke@435 32
duke@435 33 ifeq ($(BUILDARCH), ia64)
duke@435 34 # Bug in GCC, causes hang. -O1 will override the -O3 specified earlier
duke@435 35 OPT_CFLAGS/callGenerator.o += -O1
duke@435 36 OPT_CFLAGS/ciTypeFlow.o += -O1
duke@435 37 OPT_CFLAGS/compile.o += -O1
duke@435 38 OPT_CFLAGS/concurrentMarkSweepGeneration.o += -O1
duke@435 39 OPT_CFLAGS/doCall.o += -O1
duke@435 40 OPT_CFLAGS/generateOopMap.o += -O1
duke@435 41 OPT_CFLAGS/generateOptoStub.o += -O1
duke@435 42 OPT_CFLAGS/graphKit.o += -O1
duke@435 43 OPT_CFLAGS/instanceKlass.o += -O1
duke@435 44 OPT_CFLAGS/interpreterRT_ia64.o += -O1
duke@435 45 OPT_CFLAGS/output.o += -O1
duke@435 46 OPT_CFLAGS/parse1.o += -O1
duke@435 47 OPT_CFLAGS/runtime.o += -O1
duke@435 48 OPT_CFLAGS/synchronizer.o += -O1
duke@435 49 endif
duke@435 50
duke@435 51
duke@435 52 # If you set HOTSPARC_GENERIC=yes, you disable all OPT_CFLAGS settings
duke@435 53 CFLAGS$(HOTSPARC_GENERIC) += $(OPT_CFLAGS/BYFILE)
duke@435 54
duke@435 55 # Set the environment variable HOTSPARC_GENERIC to "true"
duke@435 56 # to inhibit the effect of the previous line on CFLAGS.
duke@435 57
duke@435 58 # Linker mapfile
kamg@526 59 MAPFILE = $(GAMMADIR)/make/linux/makefiles/mapfile-vers-debug
duke@435 60
duke@435 61 G_SUFFIX =
duke@435 62 VERSION = optimized
duke@435 63 SYSDEFS += -DASSERT -DFASTDEBUG
duke@435 64 PICFLAGS = DEFAULT

mercurial