diff options
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index c2c76fbf99..627f7f2076 100644 --- a/SConstruct +++ b/SConstruct @@ -190,7 +190,7 @@ elif env['os'] == 'bare_metal': env.Append(CPPDEFINES = ['BARE_METAL']) if env['opencl']: - if env['os'] == 'bare_metal': + if env['os'] in ['bare_metal'] or env['standalone']: print("Cannot link OpenCL statically, which is required on bare metal") Exit(1) |