diff options
| author | chenjh <[email protected]> | 2021-02-26 18:23:52 +0800 |
|---|---|---|
| committer | chenjh <[email protected]> | 2021-02-26 18:23:52 +0800 |
| commit | 055c3d3e1d75fedac44ffb41943350d9844f5b7e (patch) | |
| tree | ab7ee8660930048e93cc2dcc944db40c59f08b5d /tools/utils.py | |
| parent | 5f17cf9204e501d971cd28486e0a7193d2f1fae4 (diff) | |
[Update] Sync from v4.0.3
Diffstat (limited to 'tools/utils.py')
| -rw-r--r-- | tools/utils.py | 2 |
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: |
