small build system improvements

This commit is contained in:
FeralChild64 committed 2019-09-14 15:07:19 +02:00
1 parent 2dbb696628
commit 5b2c28b281
1 file changed
+3 -3
+3 -3
View File
@@ -337,7 +337,7 @@ void calcRoutineSizes()
// All written - now launch the assembler
const std::string cmd = ASM_CMD + outFileName + " -symbolfile -o /dev/null";
std::cout << std::flush;
std::cout << "command: " << cmd << "\n" << std::flush;
if (0 != system(cmd.c_str()))
{
ERROR("assembler running failed");
@@ -547,7 +547,7 @@ void compileSegment()
// All written - now launch the assembler
const std::string cmd = ASM_CMD + outFileName + " -symbolfile -o " + CMD_outFile;
std::cout << std::flush;
std::cout << "command: " << cmd << "\n" << std::flush;
if (0 != system(cmd.c_str()))
{
ERROR("assembler running failed");
@@ -852,7 +852,7 @@ void Solver::run()
{
// Prepare the log file
const std::string logFileName = CMD_tmpDir + DIR_SEPARATOR + CMD_segName + "_solver.log";
const std::string logFileName = CMD_tmpDir + DIR_SEPARATOR + CMD_segName + "_binsolution.log";
unlink(logFileName.c_str());
logFile.open(logFileName, std::fstream::out | std::fstream::trunc);