57 # DEBUG_BINARIES overrides everything, use full -g debug information |
57 # DEBUG_BINARIES overrides everything, use full -g debug information |
58 ifeq ($(DEBUG_BINARIES), true) |
58 ifeq ($(DEBUG_BINARIES), true) |
59 SA_DEBUG_CFLAGS = -g |
59 SA_DEBUG_CFLAGS = -g |
60 endif |
60 endif |
61 |
61 |
|
62 # Optimize saproc lib at level -O3 unless it's a slowdebug build |
|
63 ifneq ($(BUILD_FLAVOR), debug) |
|
64 SA_OPT_FLAGS = $(OPT_CFLAGS) |
|
65 endif |
|
66 |
62 # if $(AGENT_DIR) does not exist, we don't build SA |
67 # if $(AGENT_DIR) does not exist, we don't build SA |
63 # also, we don't build SA on Itanium or zero. |
68 # also, we don't build SA on Itanium or zero. |
64 |
69 |
65 ifneq ($(wildcard $(AGENT_DIR)),) |
70 ifneq ($(wildcard $(AGENT_DIR)),) |
66 ifneq ($(filter-out ia64 zero,$(SRCARCH)),) |
71 ifneq ($(filter-out ia64 zero,$(SRCARCH)),) |