From 0e31e98bb20e2d47bc0ba8e4c15d03844713e8a0 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Thu, 2 Apr 2009 18:14:40 +0000 Subject: [PATCH] Made Tock draw in the post-analysis object files when linking --- Main.hs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Main.hs b/Main.hs index 992e40f..04f7882 100644 --- a/Main.hs +++ b/Main.hs @@ -287,8 +287,10 @@ compileFull inputFile moutputFile exec $ cCommand postCFile postOFile (csCompilerFlags optsPS) cs <- lift getCompState - let otherOFiles = [usedFile ++ ".tock.o" - | usedFile <- Set.toList $ csUsedFiles cs] + let otherOFiles = concat [[usedFile ++ ".tock.o" + ,usedFile ++ ".tock_post.o" + ] + | usedFile <- Set.toList $ csUsedFiles cs] -- Link the object files into a binary