瀏覽代碼

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 年之前
父節點
當前提交
cac7a24ab6
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      lib/vector/diglib/Makefile

+ 2 - 0
lib/vector/diglib/Makefile

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