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/qa/rtl | |
parent | 5c7e0a0c9c1dd9edc384b38d3bfe7a0ae2faf4e5 (diff) |
Cannot do unit testing when cross-compiling
Diffstat (limited to 'sal/qa/rtl')
-rwxr-xr-x | sal/qa/rtl/alloc/makefile.mk | 4 | ||||
-rw-r--r-- | sal/qa/rtl/cipher/makefile.mk | 4 | ||||
-rwxr-xr-x | sal/qa/rtl/crc32/makefile.mk | 4 | ||||
-rw-r--r-- | sal/qa/rtl/doublelock/makefile.mk | 4 | ||||
-rw-r--r-- | sal/qa/rtl/locale/makefile.mk | 4 | ||||
-rw-r--r-- | sal/qa/rtl/oustringbuffer/makefile.mk | 4 | ||||
-rw-r--r-- | sal/qa/rtl/strings/makefile.mk | 3 |
7 files changed, 26 insertions, 1 deletions
diff --git a/sal/qa/rtl/alloc/makefile.mk b/sal/qa/rtl/alloc/makefile.mk index 817554074ffc..15d3ff3f965c 100755 --- a/sal/qa/rtl/alloc/makefile.mk +++ b/sal/qa/rtl/alloc/makefile.mk @@ -35,6 +35,8 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +.IF "$(CROSS_COMPILING)"=="" + CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -54,6 +56,8 @@ SHL1VERSIONMAP= $(PRJ)$/qa$/export.map # do this here, so we get right dependencies # SLOFILES=$(SHL1OBJS) +.ENDIF + # --- Targets ------------------------------------------------------ .INCLUDE : target.mk diff --git a/sal/qa/rtl/cipher/makefile.mk b/sal/qa/rtl/cipher/makefile.mk index ced0747acee5..7ba9b0b97f8a 100644 --- a/sal/qa/rtl/cipher/makefile.mk +++ b/sal/qa/rtl/cipher/makefile.mk @@ -37,6 +37,8 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +.IF "$(CROSS_COMPILING)"=="" + CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -63,6 +65,8 @@ SHL1VERSIONMAP= $(PRJ)$/qa$/export.map # do this here, so we get right dependencies # SLOFILES=$(SHL1OBJS) +.ENDIF + # --- Targets ------------------------------------------------------ .INCLUDE : target.mk diff --git a/sal/qa/rtl/crc32/makefile.mk b/sal/qa/rtl/crc32/makefile.mk index 149e82eb81b7..7f748093c2d9 100755 --- a/sal/qa/rtl/crc32/makefile.mk +++ b/sal/qa/rtl/crc32/makefile.mk @@ -35,6 +35,8 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +.IF "$(CROSS_COMPILING)"=="" + CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -61,6 +63,8 @@ SHL1VERSIONMAP= $(PRJ)$/qa$/export.map # do this here, so we get right dependencies # SLOFILES=$(SHL1OBJS) +.ENDIF + # --- Targets ------------------------------------------------------ .INCLUDE : target.mk diff --git a/sal/qa/rtl/doublelock/makefile.mk b/sal/qa/rtl/doublelock/makefile.mk index 02283c9c1da0..85765dbd9fb9 100644 --- a/sal/qa/rtl/doublelock/makefile.mk +++ b/sal/qa/rtl/doublelock/makefile.mk @@ -35,6 +35,8 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +.IF "$(CROSS_COMPILING)"=="" + CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -64,6 +66,8 @@ SHL1VERSIONMAP = $(PRJ)$/qa$/export.map SLOFILES=$(SHL1OBJS) +.ENDIF + # --- Targets ------------------------------------------------------ .INCLUDE : target.mk diff --git a/sal/qa/rtl/locale/makefile.mk b/sal/qa/rtl/locale/makefile.mk index 32e1471eecdf..1e757c640ebd 100644 --- a/sal/qa/rtl/locale/makefile.mk +++ b/sal/qa/rtl/locale/makefile.mk @@ -35,6 +35,8 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +.IF "$(CROSS_COMPILING)"=="" + CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -62,6 +64,8 @@ SHL1VERSIONMAP= $(PRJ)$/qa$/export.map # do this here, so we get right dependencies # SLOFILES=$(SHL1OBJS) +.ENDIF + # --- Targets ------------------------------------------------------ .INCLUDE : target.mk diff --git a/sal/qa/rtl/oustringbuffer/makefile.mk b/sal/qa/rtl/oustringbuffer/makefile.mk index 9165daa11350..dc82e6314fa1 100644 --- a/sal/qa/rtl/oustringbuffer/makefile.mk +++ b/sal/qa/rtl/oustringbuffer/makefile.mk @@ -34,6 +34,7 @@ ENABLE_EXCEPTIONS := TRUE .INCLUDE: settings.mk +.IF "$(CROSS_COMPILING)"=="" CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -50,6 +51,7 @@ SHL1STDLIBS := $(SALLIB) $(CPPUNITLIB) SHL1VERSIONMAP := $(PRJ)$/qa$/export.map DEF1NAME := $(SHL1TARGET) +.ENDIF + .INCLUDE: target.mk .INCLUDE: $(PRJ)$/qa$/cppunit_local.mk - diff --git a/sal/qa/rtl/strings/makefile.mk b/sal/qa/rtl/strings/makefile.mk index 2b07539e8683..6ebfed70251c 100644 --- a/sal/qa/rtl/strings/makefile.mk +++ b/sal/qa/rtl/strings/makefile.mk @@ -34,6 +34,7 @@ ENABLE_EXCEPTIONS := TRUE .INCLUDE: settings.mk +.IF "$(CROSS_COMPILING)"=="" CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -51,5 +52,7 @@ SHL1STDLIBS := $(SALLIB) $(CPPUNITLIB) SHL1VERSIONMAP := $(PRJ)$/qa$/export.map DEF1NAME := $(SHL1TARGET) +.ENDIF + .INCLUDE: target.mk .INCLUDE: $(PRJ)$/qa$/cppunit_local.mk |