diff --git a/test/source/cpp/makefile.mk b/test/source/cpp/makefile.mk index cae88e039574..62a6e2c35019 100644 --- a/test/source/cpp/makefile.mk +++ b/test/source/cpp/makefile.mk @@ -32,6 +32,12 @@ VISIBILITY_HIDDEN = TRUE .INCLUDE: settings.mk +.IF "$(CROSS_COMPILING)"=="YES" +all: + @echo Nothing done when cross-compiling +.ENDIF + +# --- Files -------------------------------------------------------- CDEFS += -DOOO_DLLIMPLEMENTATION_TEST CFLAGSCXX += $(CPPUNIT_CFLAGS) diff --git a/test/source/cpp/unoexceptionprotector/makefile.mk b/test/source/cpp/unoexceptionprotector/makefile.mk index 86c8bc6fb49e..d3d13e646232 100644 --- a/test/source/cpp/unoexceptionprotector/makefile.mk +++ b/test/source/cpp/unoexceptionprotector/makefile.mk @@ -32,6 +32,12 @@ VISIBILITY_HIDDEN = TRUE .INCLUDE: settings.mk +.IF "$(CROSS_COMPILING)"=="YES" +all: + @echo Nothing done when cross-compiling +.ENDIF + +# --- Files -------------------------------------------------------- DLLPRE = CFLAGSCXX += $(CPPUNIT_CFLAGS)