[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r1263 - in glibc-package/trunk/debian: . rules.d



Author: aurel32
Date: 2006-03-02 10:19:15 +0000 (Thu, 02 Mar 2006)
New Revision: 1263

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/rules.d/build.mk
Log:
  * If the CPU has biarch support, run tests for cross-compiled libraries.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2006-03-02 10:09:55 UTC (rev 1262)
+++ glibc-package/trunk/debian/changelog	2006-03-02 10:19:15 UTC (rev 1263)
@@ -2,6 +2,7 @@
 
   * Set configure_build to the same value as configure_host for sparc
     optimized libraries (as on i386). This way they will be tested.
+  * If the CPU has biarch support, run tests for cross-compiled libraries.
 
  -- Aurelien Jarno <aurel32@debian.org>  Thu,  2 Mar 2006 05:10:12 +0100
 

Modified: glibc-package/trunk/debian/rules.d/build.mk
===================================================================
--- glibc-package/trunk/debian/rules.d/build.mk	2006-03-02 10:09:55 UTC (rev 1262)
+++ glibc-package/trunk/debian/rules.d/build.mk	2006-03-02 10:19:15 UTC (rev 1263)
@@ -80,7 +80,8 @@
 $(stamp)check_%: $(stamp)build_%
 	if [ -n "$(findstring nocheck,$(DEB_BUILD_OPTIONS))" ]; then \
 	  echo "DEB_BUILD_OPTIONS contains nocheck, skipping tests."; \
-	elif [ $(call xx,configure_build) != $(call xx,configure_target) ]; then \
+	elif [ $(call xx,configure_build) != $(call xx,configure_target) ] && \
+	     ! $(DEB_BUILDDIR)/libc.so >/dev/null 2>&1 ; then \
 	  echo "Cross compiling, skipping tests."; \
 	elif ! $(call kernel_check,$(call xx,MIN_KERNEL_SUPPORTED)); then \
 	  echo "Kernel too old, skipping tests."; \



Reply to: