Enforce older versions of libm for several math libraries to ensure compatibility
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2019-08-25 17:58:57 +02:00
parent f5bfd9c710
commit b3eee4e89a
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
3 changed files with 7 additions and 0 deletions

View File

@ -14,6 +14,9 @@ add_executable(PorygonLangTests
${SRC_FILES} ${SRC_FILES}
${TEST_FILES}) ${TEST_FILES})
target_link_libraries(PorygonLang -static-libgcc -static-libstdc++)
target_link_libraries(PorygonLangTests -static-libgcc -static-libstdc++)
if (WINDOWS) if (WINDOWS)
target_link_libraries(PorygonLang -static -static-libgcc -static-libstdc++) target_link_libraries(PorygonLang -static -static-libgcc -static-libstdc++)
target_link_libraries(PorygonLangTests -static -static-libgcc -static-libstdc++) target_link_libraries(PorygonLangTests -static -static-libgcc -static-libstdc++)

View File

@ -153,6 +153,7 @@ namespace Porygon::Parser {
} }
} }
__asm__(".symver pow,pow@GLIBC_2.2.5");
Token *Lexer::LexNumber(char16_t c) { Token *Lexer::LexNumber(char16_t c) {
int64_t int_value = CharToInt(c); int64_t int_value = CharToInt(c);
double float_value = 0; double float_value = 0;

View File

@ -15,6 +15,9 @@
#include "../UserData/UserDataFunction.hpp" #include "../UserData/UserDataFunction.hpp"
#include "../Utilities/Random.hpp" #include "../Utilities/Random.hpp"
__asm__(".symver log,log@GLIBC_2.2.5");
__asm__(".symver exp,exp@GLIBC_2.2.5");
namespace Porygon::StandardLibraries { namespace Porygon::StandardLibraries {
using namespace Porygon::Evaluation; using namespace Porygon::Evaluation;
using namespace Porygon::Utilities; using namespace Porygon::Utilities;