diff options
| author | 2015-05-28 09:38:32 -0700 | |
|---|---|---|
| committer | 2015-05-28 09:38:32 -0700 | |
| commit | de21d38efbcaa909cdc18690645a15e9c83de3a5 (patch) | |
| tree | cbb615fdfc36b472bf43a72c4a4c84cb107c328d /scripts/src/3rdparty.lua | |
| parent | 05664c66570fb8df774708cc2c1b2cebda623ab5 (diff) | |
3rdparty.lua: add check for nil first (nw)
Diffstat (limited to 'scripts/src/3rdparty.lua')
| -rw-r--r-- | scripts/src/3rdparty.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index 3daff931827..a140bef7860 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -629,7 +629,7 @@ project "portaudio" } local version = str_to_version(_OPTIONS["gcc_version"]) - if string.find(_OPTIONS["gcc"], "clang") then + if (_OPTIONS["gcc"]~=nil) and string.find(_OPTIONS["gcc"], "clang") then buildoptions_c { "-Wno-unknown-warning-option", "-Wno-absolute-value", |
