summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2020-04-24 08:46:56 +0800
committerBernard Xiong <[email protected]>2020-04-24 08:46:56 +0800
commit03eb616ff6f5227efd6bb786f33294283bf96246 (patch)
tree3515fb1d431464175d83956e8827b07171381f4c /tools
parent7b055bd8be15b6d49fe189170f226849ac7f0e69 (diff)
[tools] fix c99/siginfo_t issue caused by gcc_version
Diffstat (limited to 'tools')
-rw-r--r--tools/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/utils.py b/tools/utils.py
index 9459396544..67ce098ccd 100644
--- a/tools/utils.py
+++ b/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: