summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-07-10 12:39:25 +0300
committerTor Lillqvist <tml@iki.fi>2011-07-10 12:39:25 +0300
commit40be3202dc47241603244a0ed0fe52282c262968 (patch)
tree84d0f22dace94e5f5b19ddff2e03108f92bc6d5b /sal
parent4f7e535510f4edf81ecbf0a8f1ba97c4ff5732c8 (diff)
Don't run cppunittester automatically when cross-compiling
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/cppunit_local.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/qa/cppunit_local.mk b/sal/qa/cppunit_local.mk
index 4b452b73c94c..eaa662877b84 100644
--- a/sal/qa/cppunit_local.mk
+++ b/sal/qa/cppunit_local.mk
@@ -25,6 +25,10 @@
# cppunittester is built in this module; cannot use delivered version
# this should be kept in sync with the definition in solenv/inc/settings.mk
+.IF "$(CROSS_COMPILING)"=="YES"
+CPPUNITTESTER=\#
+.ELSE
CPPUNITTESTER = $(AUGMENT_LIBRARY_PATH_LOCAL) $(GDBCPPUNITTRACE) $(VALGRINDTOOL) $(BIN)/cppunittester
+.ENDIF
.INCLUDE : _cppunit.mk