Remove default debugging flags from Makefile

This commit is contained in:
Thraix
2020-03-01 21:02:59 +01:00
parent f2afec473f
commit a36f245f37
4 changed files with 9 additions and 7 deletions
+2 -2
View File
@@ -51,11 +51,11 @@ void Makefile::Save(ConfigFile& conf, unsigned int flags)
outputFile << std::endl;
if(outputtype == "executable" || outputtype != "sharedlibrary")
{
outputFile << "CFLAGS=$(INCLUDES) -std=c++17 -c -w -g3 ";
outputFile << "CFLAGS=$(INCLUDES) -std=c++17 -c ";
}
else
{
outputFile << "CFLAGS=$(INCLUDES) -fPIC -std=c++17 -c -w -g3 ";
outputFile << "CFLAGS=$(INCLUDES) -fPIC -std=c++17 -c ";
}
std::vector<std::string>& defines = conf.GetSettingVectorString(ConfigSetting::Define);
for(auto it = defines.begin(); it != defines.end(); ++it)