diff options
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 0272ddedcb4..c0424b34f99 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1137,7 +1137,7 @@ configuration { "mingw*" } configuration { "mingw-clang" } local version = str_to_version(_OPTIONS["gcc_version"]) - if string.find(_OPTIONS["gcc"], "clang") and ((version < 30900)) then + if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") and ((version < 30900)) then linkoptions { "-pthread", } |