[svn:parrot] r40296 - in trunk/config: gen/makefiles init
chromatic at svn.parrot.org
chromatic at svn.parrot.org
Tue Jul 28 03:25:02 UTC 2009
Author: chromatic
Date: Tue Jul 28 03:24:55 2009
New Revision: 40296
URL: https://trac.parrot.org/parrot/changeset/40296
Log:
[config] Fixed splint temporary directory detection by adding a TEMPDIR
variable to the generated Makefile (fixes at least part of TT #859).
Modified:
trunk/config/gen/makefiles/root.in
trunk/config/init/defaults.pm
Modified: trunk/config/gen/makefiles/root.in
==============================================================================
--- trunk/config/gen/makefiles/root.in Mon Jul 27 22:11:29 2009 (r40295)
+++ trunk/config/gen/makefiles/root.in Tue Jul 28 03:24:55 2009 (r40296)
@@ -112,6 +112,7 @@
RECONFIGURE := $(PERL) tools/dev/reconfigure.pl
INNO_SETUP := iscc
JIT_BUILD_TOOL := $(BUILD_TOOLS_DIR)/jit2c.pl
+TEMPDIR := @tempdir@
#IF(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@
###############################################################################
@@ -1907,7 +1908,7 @@
# Temp directory for splint. Add +keep to splintflags if you want work files
# kept in there after completion.
-SPLINT_TMP := $(TMP)/splint
+SPLINT_TMP := $(TEMPDIR)/splint
# Splint flags: http://splint.org/manual/html/appB.html
# The dashes in the names don't make any difference to Splint, but I've
Modified: trunk/config/init/defaults.pm
==============================================================================
--- trunk/config/init/defaults.pm Mon Jul 27 22:11:29 2009 (r40295)
+++ trunk/config/init/defaults.pm Tue Jul 28 03:24:55 2009 (r40296)
@@ -243,6 +243,8 @@
# generate #line directives. These can confuse
# debugging internals.
no_lines_flag => $conf->options->get('no-line-directives') ? '--no-lines' : '',
+
+ tempdir => File::Spec->tmpdir,
);
# add profiling if needed
More information about the parrot-commits
mailing list