Explorar o código

[tools] fix c99/siginfo_t issue caused by gcc_version

Bernard Xiong %!s(int64=5) %!d(string=hai) anos
pai
achega
03eb616ff6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tools/utils.py

+ 1 - 1
tools/utils.py

@@ -273,7 +273,7 @@ def VersionCmp(ver1, ver2):
 
 def GCCC99Patch(cflags):
     import building
-    gcc_version = building.GetDepend('GCC_VERSION')
+    gcc_version = building.GetDepend('GCC_VERSION_STR')
     if gcc_version:
         gcc_version = gcc_version.replace('"', '')
     if VersionCmp(gcc_version, "4.8.0") == 1: