summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-06-05 02:23:46 +0300
committerTor Lillqvist <tml@iki.fi>2011-06-05 02:23:46 +0300
commit28bff17eacc40cd002855dd2ed00f82b5d0818c8 (patch)
treea2b22585fd1d7b09f538c4e4005dd638380e3d7e /cppu
parente66381a77b904431df0e823cfe87f37937beedb1 (diff)
Can't run any qa when cross-compiling
Diffstat (limited to 'cppu')
-rw-r--r--cppu/qa/cppumaker/makefile.mk5
-rw-r--r--cppu/qa/makefile.mk5
2 files changed, 10 insertions, 0 deletions
diff --git a/cppu/qa/cppumaker/makefile.mk b/cppu/qa/cppumaker/makefile.mk
index 1dd1a4bace19..6d3a2d7191d2 100644
--- a/cppu/qa/cppumaker/makefile.mk
+++ b/cppu/qa/cppumaker/makefile.mk
@@ -33,6 +33,11 @@ ENABLE_EXCEPTIONS := TRUE
.INCLUDE: settings.mk
+.IF "$(CROSS_COMPILING)"=="YES"
+all:
+ @echo Nothing done when cross-compiling
+.ENDIF
+
CFLAGSCXX += $(CPPUNIT_CFLAGS)
DLLPRE = # no leading "lib" on .so files
diff --git a/cppu/qa/makefile.mk b/cppu/qa/makefile.mk
index 1db4ed9eea8a..6d9d87935753 100644
--- a/cppu/qa/makefile.mk
+++ b/cppu/qa/makefile.mk
@@ -33,6 +33,11 @@ ENABLE_EXCEPTIONS := TRUE
.INCLUDE: settings.mk
+.IF "$(CROSS_COMPILING)"=="YES"
+all:
+ @echo Nothing done when cross-compiling
+.ENDIF
+
CFLAGSCXX+=$(CPPUNIT_CFLAGS)
DLLPRE=# no leading "lib" on .so files