BSDBuild-SVN | 5 Oct 08:34
Favicon

BSDBuild: r737 - trunk/BSDBuild

Author: vedge
Date: 2008-10-05 03:38:22 -0300 (Sun, 05 Oct 2008)
New Revision: 737

Modified:
   trunk/BSDBuild/Core.pm
   trunk/BSDBuild/byte_order.pm
   trunk/BSDBuild/cc.pm
   trunk/BSDBuild/cxx.pm
Log:
always set $MK_COMPILE_STATUS

Modified: trunk/BSDBuild/Core.pm
===================================================================
--- trunk/BSDBuild/Core.pm	2008-10-05 04:35:22 UTC (rev 736)
+++ trunk/BSDBuild/Core.pm	2008-10-05 06:38:22 UTC (rev 737)
@@ -350,16 +350,16 @@
 echo "int main (int argc, char *argv[]) { return (0); }" >> conftest.c
 EOF
 	print << 'EOF';
-compile="ok"
+MK_COMPILE_STATUS="OK"
 echo "$CC $CFLAGS $TEST_CFLAGS -o $testdir/conftest conftest.c" >>config..log
 $CC $CFLAGS $TEST_CFLAGS -o $testdir/conftest conftest.c 2>>config.log
 if [ $? != 0 ]; then
 	echo "-> failed ($?)" >> config.log
-	compile="failed"
+	MK_COMPILE_STATUS="FAIL($?)"
 fi
 rm -f $testdir/conftest conftest.c
(Continue reading)


Gmane