Mercurial > hg > truffle
comparison make/linux/makefiles/gcc.make @ 6020:d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
Summary: Add support for ENABLE_FULL_DEBUG_SYMBOLS and ZIP_DEBUGINFO_FILES build flags. Add support for .diz files.
Reviewed-by: dholmes, ohair, sspitsyn
author | dcubed |
---|---|
date | Fri, 23 Mar 2012 11:50:33 -0700 |
parents | 719f7007c8e8 |
children | 74c359c4a9e5 |
comparison
equal
deleted
inserted
replaced
4958:3b24e7e01d20 | 6020:d652a62d6e03 |
---|---|
1 # | 1 # |
2 # Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. | 2 # Copyright (c) 1999, 2012, 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. |
222 DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) | 222 DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) |
223 ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),) | 223 ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),) |
224 DEBUG_CFLAGS += -gstabs | 224 DEBUG_CFLAGS += -gstabs |
225 endif | 225 endif |
226 | 226 |
227 ifneq ($(OBJCOPY),) | 227 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
228 FASTDEBUG_CFLAGS/ia64 = -g | 228 FASTDEBUG_CFLAGS/ia64 = -g |
229 FASTDEBUG_CFLAGS/amd64 = -g | 229 FASTDEBUG_CFLAGS/amd64 = -g |
230 FASTDEBUG_CFLAGS/arm = -g | 230 FASTDEBUG_CFLAGS/arm = -g |
231 FASTDEBUG_CFLAGS/ppc = -g | 231 FASTDEBUG_CFLAGS/ppc = -g |
232 FASTDEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) | 232 FASTDEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) |