]> Zhao Yanbai Git Server - minix.git/commitdiff
bugfix: build.sh cross-compile on NetBSD host 06/806/1
authorLionel Sambuc <lionel@minix3.org>
Thu, 5 Sep 2013 14:03:46 +0000 (16:03 +0200)
committerLionel Sambuc <lionel@minix3.org>
Thu, 5 Sep 2013 14:09:35 +0000 (16:09 +0200)
As kindly reported by Nishimura Toru, the fix is quite simple.

cf: https://groups.google.com/d/msg/minix3/v3yejSogDqY/0TZxzpIHOzUJ

Change-Id: Ibdba8847982e93872217a6e736f50d4c90630e7a

tools/compat/configure

index 1fa623085c23f571853d27c57dc815a307dc8ee6..5c595c4d8447192bdb56854b4f04fd904d94d15e 100755 (executable)
@@ -1869,7 +1869,7 @@ echo $ECHO_N "checking for MINIX3... $ECHO_C" >&6
       cat >conftest.$ac_ext <<_ACEOF
 #line 1870 "configure"
 #include "confdefs.h"
-#ifdef __minix
+#if defined(__minix) || defined(__NetBSD__)
        yes
        #endif