Enforce older versions of libm for several math libraries to ensure compatibility
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is failing
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	continuous-integration/drone/push Build is failing
				
			This commit is contained in:
		| @@ -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++) | ||||||
|   | |||||||
| @@ -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; | ||||||
|   | |||||||
| @@ -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; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user