comparison make/bsd/makefiles/product.make @ 12859:f509b8f4699b

7165611: implement Full Debug Symbols on MacOS X hotspot Summary: Add MacOS X FDS support to hotspot; add minimal MacOS X FDS import support to jdk; add MacOS X FDS support to install; add MacOS X FDS support to root. Reviewed-by: erikj, sla, dholmes, rdurbin, tbell, ihse
author dcubed
date Tue, 15 Oct 2013 08:25:43 -0700
parents 892acf0431ef
children 19682558f2e1
comparison
equal deleted inserted replaced
12858:2f8728d92483 12859:f509b8f4699b
1 # 1 #
2 # Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. 2 # Copyright (c) 1999, 2013, 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.
41 MAPFILE = $(GAMMADIR)/make/bsd/makefiles/mapfile-vers-product 41 MAPFILE = $(GAMMADIR)/make/bsd/makefiles/mapfile-vers-product
42 42
43 SYSDEFS += -DPRODUCT 43 SYSDEFS += -DPRODUCT
44 VERSION = optimized 44 VERSION = optimized
45 45
46 # use -g to strip library as -x will discard its symbol table; -x is fine for 46 ifneq ($(OS_VENDOR), Darwin)
47 # executables. 47 # use -g to strip library as -x will discard its symbol table; -x is fine for
48 ifdef CROSS_COMPILE_ARCH 48 # executables.
49 STRIP = $(ALT_COMPILER_PATH)/strip 49 ifdef CROSS_COMPILE_ARCH
50 else 50 STRIP = $(ALT_COMPILER_PATH)/strip
51 STRIP = strip 51 else
52 STRIP = strip
53 endif
54 STRIP_LIBJVM = $(STRIP) -g $@ || exit 1;
55 STRIP_AOUT = $(STRIP) -x $@ || exit 1;
56
57 # Don't strip in VM build; JDK build will strip libraries later
58 # LINK_LIB.CXX/POST_HOOK += $(STRIP_$(LINK_INTO))
52 endif 59 endif
53 STRIP_LIBJVM = $(STRIP) -g $@ || exit 1;
54 STRIP_AOUT = $(STRIP) -x $@ || exit 1;
55
56 # Don't strip in VM build; JDK build will strip libraries later
57 # LINK_LIB.CXX/POST_HOOK += $(STRIP_$(LINK_INTO))