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
+1 -1
View File
@@ -12,7 +12,7 @@
// Release, should be backwards compatible with any minor version
#define MAKEGEN_VERSION_RELEASE 3
// Minor changes, generally bug fixes
#define MAKEGEN_VERSION_MINOR 2
#define MAKEGEN_VERSION_MINOR 3
#define MAKEGEN_VERSION ("v" STR(MAKEGEN_VERSION_MAJOR) "." STR(MAKEGEN_VERSION_RELEASE) "." STR(MAKEGEN_VERSION_MINOR))
+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)