From 23d5bb85b639a3fd2b4cd4fe9c0f8df18484791e Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Sun, 12 Feb 2023 14:22:45 +0800 Subject: [PATCH] Linux fix --- RedPandaIDE/compiler/projectcompiler.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/RedPandaIDE/compiler/projectcompiler.cpp b/RedPandaIDE/compiler/projectcompiler.cpp index 9142d32c..7eea734f 100644 --- a/RedPandaIDE/compiler/projectcompiler.cpp +++ b/RedPandaIDE/compiler/projectcompiler.cpp @@ -298,12 +298,8 @@ void ProjectCompiler::writeMakeDefines(QFile &file) } #elif defined(Q_OS_LINUX) asmFlags = "-f elf64"; - if (mProject->getCompileOption(CC_CMD_OPT_DEBUG_INFO) == COMPILER_OPTION_ON) - asmFlags += " -g "; #elif defined(Q_OS_MACOS) asmFlags = "-f macho64"; - if (mProject->getCompileOption(CC_CMD_OPT_DEBUG_INFO) == COMPILER_OPTION_ON) - asmFlags += " -g "; #endif writeln(file,"ASMFLAGS = " + asmFlags); }