diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-05-14 02:06:01 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-05-14 02:06:12 +0300 |
commit | 32fb3acffe896f33aeea3e2427985f3c409d31a8 (patch) | |
tree | 72ec54888eaa69ae248f4ba1a8e31c35020298be | |
parent | dfff6a8b40edec6fa877cb17e5c252672d405a55 (diff) |
Mostly bypass when cross-compiling
Unfortunately it still untars the tarball. But at least nothing gets
built or delivered when cross-compiling.
-rw-r--r-- | cppunit/makefile.mk | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/cppunit/makefile.mk b/cppunit/makefile.mk index a842e42..df5256b 100644 --- a/cppunit/makefile.mk +++ b/cppunit/makefile.mk @@ -40,6 +40,8 @@ PATCH_FILES = solarisfinite.patch warnings.patch windows.patch ldflags.patch aix # warnings.patch: see <https://sourceforge.net/tracker/?func=detail& # aid=2912630&group_id=11795&atid=311795> +.IF "$(CROSS_COMPILING)=="" + .IF "$(OS)" == "WNT" .IF "$(COM)" == "MSC" @@ -93,10 +95,6 @@ OUT2BIN = ooo-install/bin/DllPlugInTester.exe \ ooo-install/bin/cygcppunit-1-12-1.dll OUT2LIB = ooo-install/lib/libcppunit.dll.a -.INCLUDE: set_ext.mk -.INCLUDE: target.mk -.INCLUDE: tg_ext.mk - .ENDIF # "$(COM)" == "GCC" .ENDIF # "$(COM)" == "MSC" @@ -136,8 +134,9 @@ OUT2LIB = ooo-install/lib/libcppunit-1.12.so.1.0 OUT2LIB = ooo-install/lib/libcppunit-1.12.so.1 .END +.END +.ENDIF + .INCLUDE: set_ext.mk .INCLUDE: target.mk .INCLUDE: tg_ext.mk - -.END |