summaryrefslogtreecommitdiff
path: root/sal/Library_sal.mk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-08 14:20:04 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-08 14:22:00 +0200
commiteae3f52f94f2ce3633539ad782d5c1e768c52089 (patch)
treeda3cc146f5eea6c83179a88ed8125605041349ec /sal/Library_sal.mk
parent6d14a2c264506e8d5272e87e99f140b1f976b6ef (diff)
New --disable-runtime-optimizations
...to better serve the needs of tools like -fsanitize=address Change-Id: Ic2f2b981b2f5c1bc95ff91bc7a8d21fbb695dc8d
Diffstat (limited to 'sal/Library_sal.mk')
-rw-r--r--sal/Library_sal.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/Library_sal.mk b/sal/Library_sal.mk
index d7c28a575dc8..1d88f78cf396 100644
--- a/sal/Library_sal.mk
+++ b/sal/Library_sal.mk
@@ -20,7 +20,7 @@ $(eval $(call gb_Library_set_include,sal,\
))
$(eval $(call gb_Library_add_defs,sal,\
- $(if $(filter $(ALLOC),SYS_ALLOC TCMALLOC JEMALLOC), \
+ $(if $(filter $(ALLOC),SYS_ALLOC TCMALLOC JEMALLOC)$(filter-out X$(ENABLE_RUNTIME_OPTIMIZATIONS),XTRUE), \
-DFORCE_SYSALLOC \
) \
$(if $(filter $(OS),IOS), \