diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-05-22 02:10:02 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-05-22 02:11:04 +0300 |
commit | 613eefe4f1e7677ebb954c39d1ef1f579f56c0b7 (patch) | |
tree | 282a604c3e9c4bfa210f9856b28d592e3b7ad5e7 /sal/cppunittester | |
parent | 5c7e0a0c9c1dd9edc384b38d3bfe7a0ae2faf4e5 (diff) |
Cannot do unit testing when cross-compiling
Diffstat (limited to 'sal/cppunittester')
-rw-r--r-- | sal/cppunittester/makefile.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/cppunittester/makefile.mk b/sal/cppunittester/makefile.mk index 938b63d90ae9..77ed453fc94c 100644 --- a/sal/cppunittester/makefile.mk +++ b/sal/cppunittester/makefile.mk @@ -33,6 +33,8 @@ ENABLE_EXCEPTIONS = TRUE .INCLUDE: settings.mk +.IF "$(CROSS_COMPILING)"=="" + CFLAGSCXX += $(CPPUNIT_CFLAGS) OBJFILES = $(APP1OBJS) @@ -42,4 +44,6 @@ APP1RPATH = NONE APP1STDLIBS = $(CPPUNITLIB) $(SALLIB) APP1TARGET = cppunittester +.ENDIF + .INCLUDE: target.mk |