+/* $Id$
+
+This file is part of builder
+Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
#include <msp/path/utils.h>
#include "builder.h"
#include "buildinfo.h"
#include "compile.h"
#include "component.h"
#include "objectfile.h"
-#include "package.h"
+#include "sourcepackage.h"
using namespace std;
using namespace Msp;
else
tool="CC";
- argv.push_back(builder.get_tool(tool, obj.get_package()->get_arch()));
+ argv.push_back(builder.get_tool(tool, comp.get_package().get_arch()));
argv.push_back("-c");
const BuildInfo &binfo=comp.get_build_info();