Skip to content

Commit

Permalink
Use -static instead of -static-libgcc in default linker arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
mortbopet committed Jun 14, 2021
1 parent b730a28 commit dab3ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ripessettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const std::map<QString, QVariant> s_defaultSettings = {
{RIPES_SETTING_REWINDSTACKSIZE, 100},
{RIPES_SETTING_CCPATH, ""},
{RIPES_SETTING_CCARGS, "-O0"},
{RIPES_SETTING_LDARGS, "-static-libgcc -lm"}, // Ensure statically linked executable + link with math library
{RIPES_SETTING_LDARGS, "-static -lm"}, // Ensure statically linked executable + link with math library
{RIPES_SETTING_CONSOLEECHO, "true"},
{RIPES_SETTING_CONSOLEBG, QColorConstants::White},
{RIPES_SETTING_CONSOLEFONTCOLOR, QColorConstants::Black},
Expand Down

0 comments on commit dab3ee3

Please sign in to comment.