make/solaris/makefiles/defs.make

changeset 3727
d6c393b0164b
parent 3726
74c359c4a9e5
child 3781
80b9cc90b643
equal deleted inserted replaced
3726:74c359c4a9e5 3727:d6c393b0164b
107 # up by different parts of the build. Just to be clear, we only need 107 # up by different parts of the build. Just to be clear, we only need
108 # two variable names because the incoming option value can be 108 # two variable names because the incoming option value can be
109 # overridden in some situations, e.g., a BUILD_FLAVOR != product 109 # overridden in some situations, e.g., a BUILD_FLAVOR != product
110 # build. 110 # build.
111 111
112 # Disable FULL_DEBUG_SYMBOLS by default because dtrace tests are
113 # failing in nightly when the debug info files are ZIP'ed. On
114 # Solaris debug info files need to be ZIP'ed to reduce the impact
115 # on disk space footprint.
116 FULL_DEBUG_SYMBOLS ?= 0
112 ifeq ($(BUILD_FLAVOR), product) 117 ifeq ($(BUILD_FLAVOR), product)
113 FULL_DEBUG_SYMBOLS ?= 1 118 # FULL_DEBUG_SYMBOLS ?= 1
114 ENABLE_FULL_DEBUG_SYMBOLS = $(FULL_DEBUG_SYMBOLS) 119 ENABLE_FULL_DEBUG_SYMBOLS = $(FULL_DEBUG_SYMBOLS)
115 else 120 else
116 # debug variants always get Full Debug Symbols (if available) 121 # debug variants always get Full Debug Symbols (if available)
117 ENABLE_FULL_DEBUG_SYMBOLS = 1 122 # ENABLE_FULL_DEBUG_SYMBOLS = 1
123 ENABLE_FULL_DEBUG_SYMBOLS = $(FULL_DEBUG_SYMBOLS)
118 endif 124 endif
119 _JUNK_ := $(shell \ 125 _JUNK_ := $(shell \
120 echo >&2 "INFO: ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS)") 126 echo >&2 "INFO: ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS)")
121 # since objcopy is optional, we set ZIP_DEBUGINFO_FILES later 127 # since objcopy is optional, we set ZIP_DEBUGINFO_FILES later
122 128
170 STRIP_POLICY ?= min_strip 176 STRIP_POLICY ?= min_strip
171 177
172 _JUNK_ := $(shell \ 178 _JUNK_ := $(shell \
173 echo >&2 "INFO: STRIP_POLICY=$(STRIP_POLICY)") 179 echo >&2 "INFO: STRIP_POLICY=$(STRIP_POLICY)")
174 180
175 ZIP_DEBUGINFO_FILES ?= 1 181 # Disable ZIP_DEBUGINFO_FILES by default because dtrace tests are
182 # failing in nightly when the debug info files are ZIP'ed.
183 ZIP_DEBUGINFO_FILES ?= 0
176 184
177 _JUNK_ := $(shell \ 185 _JUNK_ := $(shell \
178 echo >&2 "INFO: ZIP_DEBUGINFO_FILES=$(ZIP_DEBUGINFO_FILES)") 186 echo >&2 "INFO: ZIP_DEBUGINFO_FILES=$(ZIP_DEBUGINFO_FILES)")
179 endif 187 endif
180 endif 188 endif

mercurial