Index: SConstruct |
diff --git a/SConstruct b/SConstruct |
index a51e7c8efb7691634b01a740babb4e4fa65c3d22..95dfd9e506498c1a37e804cc1fa3bcd62e6458a3 100644 |
--- a/SConstruct |
+++ b/SConstruct |
@@ -1155,8 +1155,8 @@ def VerifyOptions(env): |
return False |
if env['os'] == 'win32' and env['library'] == 'shared' and env['prof'] == 'on': |
Abort("Profiling on windows only supported for static library.") |
- if env['gdbjit'] == 'on' and (env['os'] != 'linux' or (env['arch'] != 'ia32' and env['arch'] != 'x64' and env['arch'] != 'arm')): |
- Abort("GDBJIT interface is supported only for Intel-compatible (ia32 or x64) Linux target.") |
+ if env['gdbjit'] == 'on' and ((env['os'] != 'linux' and env['os'] != 'macos') or (env['arch'] != 'ia32' and env['arch'] != 'x64' and env['arch'] != 'arm')): |
+ Abort("GDBJIT interface is supported only for Intel-compatible (ia32 or x64) Linux/OSX target.") |
if env['os'] == 'win32' and env['soname'] == 'on': |
Abort("Shared Object soname not applicable for Windows.") |
if env['soname'] == 'on' and env['library'] == 'static': |