comparison make/bsd/makefiles/product.make @ 13086:096c224171c4

Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author Doug Simon <doug.simon@oracle.com>
date Wed, 20 Nov 2013 00:10:38 +0100
parents f509b8f4699b
children 19682558f2e1
comparison
equal deleted inserted replaced
12782:92b7ec34ddfa 13086:096c224171c4
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))