Skip to content

Commit 03eb616

Browse files
committed
[tools] fix c99/siginfo_t issue caused by gcc_version
1 parent 7b055bd commit 03eb616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def VersionCmp(ver1, ver2):
273273

274274
def GCCC99Patch(cflags):
275275
import building
276-
gcc_version = building.GetDepend('GCC_VERSION')
276+
gcc_version = building.GetDepend('GCC_VERSION_STR')
277277
if gcc_version:
278278
gcc_version = gcc_version.replace('"', '')
279279
if VersionCmp(gcc_version, "4.8.0") == 1:

0 commit comments

Comments
 (0)