11 Dec 03:40
BSDBuild: r924 - in trunk: . BSDBuild man
Author: vedge
Date: 2011-12-10 21:40:02 -0500 (Sat, 10 Dec 2011)
New Revision: 924
Modified:
trunk/BSDBuild/cc.pm
trunk/BSDBuild/cxx.pm
trunk/build.lib.mk
trunk/man/build.lib.mk.5
Log:
test for --tag=CC / --tag=CXX retardation; add LIBTOOLOPTS_{CC,CXX} options.
Modified: trunk/BSDBuild/cc.pm
===================================================================
--- trunk/BSDBuild/cc.pm 2011-11-19 04:31:49 UTC (rev 923)
+++ trunk/BSDBuild/cc.pm 2011-12-11 02:40:02 UTC (rev 924)
@@ -296,6 +296,23 @@
return (0);
}
EOF
+
+ MkPrintN('checking for libtool --tag=CC retardation...');
+ my $code = << 'EOF';
+EOF
+ print 'cat << EOT > conftest.c', "\n",
+ 'int main(int argc, char *argv[]) { return (0); }', "\nEOT\n";
+ print << "EOF";
+\$LIBTOOL --quiet --mode=compile \$CC --tag=CC \$CFLAGS \$TEST_CFLAGS -o \$testdir/conftest.o
conftest.c 2>>config.log
+EOF
(Continue reading)
RSS Feed