summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-05-11 17:45:01 +0200
committerMichael Stahl <mstahl@redhat.com>2015-05-11 17:45:01 +0200
commit26ebcb023ef3d38956085cbb39416e6f148ab351 (patch)
tree42937a77621b2bbe589b94fb1558e90db1201dbe /sal
parent589d48c783fc18967cf122b18f9a525869dd77bc (diff)
sal: don't build cppunittester if cross-compiling
Change-Id: I4e2d884b2f87572dc22fece897e384bdaa7506cc
Diffstat (limited to 'sal')
-rw-r--r--sal/Module_sal.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/sal/Module_sal.mk b/sal/Module_sal.mk
index 2cfbaee9ac49..bccabe795820 100644
--- a/sal/Module_sal.mk
+++ b/sal/Module_sal.mk
@@ -10,8 +10,7 @@
$(eval $(call gb_Module_Module,sal))
$(eval $(call gb_Module_add_targets,sal,\
- $(if $(filter DESKTOP,$(BUILD_TYPE)), \
- Executable_cppunittester) \
+ $(if $(CROSS_COMPILING),,Executable_cppunittester) \
$(if $(filter $(OS),ANDROID), \
Library_lo-bootstrap) \
Library_sal \