Browse Source

Don't run test when cross-compiling

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@53200 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 12 years ago
parent
commit
cac7a24ab6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lib/vector/diglib/Makefile

+ 2 - 0
lib/vector/diglib/Makefile

@@ -21,7 +21,9 @@ endif
 
 
 default: lib
 default: lib
 	@echo "==============TEST============="
 	@echo "==============TEST============="
+ifeq ($(strip $(CROSS_COMPILING)),)
 	$(MAKE) test
 	$(MAKE) test
+endif
 
 
 test: $(OBJDIR)/test.tmp $(TESTFILE)
 test: $(OBJDIR)/test.tmp $(TESTFILE)
 	diff $(OBJDIR)/test.tmp $(TESTFILE)
 	diff $(OBJDIR)/test.tmp $(TESTFILE)