bug-hurd
[Top][All Lists]
Advanced

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

[PATCH mig 1/2] Use the target platform compiler in the test scripts


From: David Michael
Subject: [PATCH mig 1/2] Use the target platform compiler in the test scripts
Date: Wed, 20 Apr 2016 13:04:43 -0400

* tests/Makeconf.am (AM_TESTS_ENVIRONMENT): Set CC to $(TARGET_CC).
---

Hi,

When testing a cross-MIG with gnumach headers in a sysroot, the native
GCC won't be able to find them (e.g. errors about no <mach/boolean.h>).
Can this be changed to test with the target compiler?

Thanks.

David


 tests/Makeconf.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/Makeconf.am b/tests/Makeconf.am
index a8ac299..a1ae21b 100644
--- a/tests/Makeconf.am
+++ b/tests/Makeconf.am
@@ -20,4 +20,4 @@ MOSTLYCLEANFILES = *.[coh]
 
 TEST_EXTENSIONS = .defs
 AM_TESTS_ENVIRONMENT = SRCDIR='$(top_srcdir)' BUILDDIR='$(top_builddir)' \
-                       CC='$(CC)'
+                       CC='$(TARGET_CC)'
-- 
2.5.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]