summaryrefslogtreecommitdiff
path: root/tools/utils.py
diff options
context:
space:
mode:
authorchenjh <[email protected]>2021-02-26 18:23:52 +0800
committerchenjh <[email protected]>2021-02-26 18:23:52 +0800
commit055c3d3e1d75fedac44ffb41943350d9844f5b7e (patch)
treeab7ee8660930048e93cc2dcc944db40c59f08b5d /tools/utils.py
parent5f17cf9204e501d971cd28486e0a7193d2f1fae4 (diff)
[Update] Sync from v4.0.3
Diffstat (limited to 'tools/utils.py')
-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: