Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2012-10-07 17:44:58 +0400
committerKenneth Heafield <github@kheafield.com>2012-10-07 17:44:58 +0400
commitf4471692ba51aeec3cf9867fcabe2c4fc7d4cb33 (patch)
tree31968d252acc505407963644924e4b25018316f1 /jam-files
parentb2b9751227d370fb0c514d8811231754149d7a6c (diff)
Stop deleting /dev/null on OS X / Hiroshi Umemoto
Diffstat (limited to 'jam-files')
-rw-r--r--jam-files/sanity.jam2
1 files changed, 1 insertions, 1 deletions
diff --git a/jam-files/sanity.jam b/jam-files/sanity.jam
index 2aca84e4d..c8435862c 100644
--- a/jam-files/sanity.jam
+++ b/jam-files/sanity.jam
@@ -29,7 +29,7 @@ ldflags = [ os.environ "LDFLAGS" ] ;
#Run g++ with empty main and these arguments to see if it passes.
rule test_flags ( flags * ) {
flags = $(cxxflags) $(ldflags) $(flags) ;
- local cmd = "bash -c \"g++ "$(flags:J=" ")" -x c++ - <<<'int main() {}' -o /dev/null >/dev/null 2>/dev/null\"" ;
+ local cmd = "bash -c \"g++ "$(flags:J=" ")" -x c++ - <<<'int main() {}' -o $(TOP)/dummy >/dev/null 2>/dev/null && rm $(TOP)/dummy 2>/dev/null\"" ;
local ret = [ SHELL $(cmd) : exit-status ] ;
if --debug-configuration in [ modules.peek : ARGV ] {
echo $(cmd) ;