Mercurial > hg > truffle
comparison make/linux/makefiles/product.make @ 3954:da0999c4b733
7071904: 4/4 HotSpot: Full Debug Symbols
Summary: Add support for .debuginfo files for HSX libraries.
Reviewed-by: poonam, dholmes, never
author | dcubed |
---|---|
date | Fri, 16 Sep 2011 16:21:20 -0700 |
parents | 0a8e0d4345b3 |
children | 719f7007c8e8 |
comparison
equal
deleted
inserted
replaced
3950:5a3c2bc614ca | 3954:da0999c4b733 |
---|---|
1 # | 1 # |
2 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. | 2 # Copyright (c) 1999, 2011, 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. |
44 SYSDEFS += -DPRODUCT | 44 SYSDEFS += -DPRODUCT |
45 VERSION = optimized | 45 VERSION = optimized |
46 | 46 |
47 # use -g to strip library as -x will discard its symbol table; -x is fine for | 47 # use -g to strip library as -x will discard its symbol table; -x is fine for |
48 # executables. | 48 # executables. |
49 ifdef CROSS_COMPILE_ARCH | 49 # Note: these macros are not used in .debuginfo configs |
50 STRIP = $(ALT_COMPILER_PATH)/strip | |
51 else | |
52 STRIP = strip | |
53 endif | |
54 STRIP_LIBJVM = $(STRIP) -g $@ || exit 1; | 50 STRIP_LIBJVM = $(STRIP) -g $@ || exit 1; |
55 STRIP_AOUT = $(STRIP) -x $@ || exit 1; | 51 STRIP_AOUT = $(STRIP) -x $@ || exit 1; |
56 | 52 |
57 # Don't strip in VM build; JDK build will strip libraries later | 53 # If we can create .debuginfo files, then the VM is stripped in vm.make |
54 # and this macro is not used. | |
58 # LINK_LIB.CC/POST_HOOK += $(STRIP_$(LINK_INTO)) | 55 # LINK_LIB.CC/POST_HOOK += $(STRIP_$(LINK_INTO)) |