diff --git a/tools/utils.py b/tools/utils.py index 94593965443cdc8100b38d4e9cba08ac3c6cd4a9..67ce098ccde50122336b4b757cd44716fbd8f27b 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: