diff options
Diffstat (limited to 'src/third_party/v8/SConscript')
-rw-r--r-- | src/third_party/v8/SConscript | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/third_party/v8/SConscript b/src/third_party/v8/SConscript index 11dc7df3a68..3c4572ae2e8 100644 --- a/src/third_party/v8/SConscript +++ b/src/third_party/v8/SConscript @@ -32,7 +32,7 @@ root_dir = dirname(File('SConscript').rfile().abspath) sys.path.append(join(root_dir, 'tools')) import js2c -Import("env windows linux darwin solaris freebsd debugBuild") +Import("env windows linux darwin solaris freebsd debugBuild openbsd") # pared-down copies of the equivalent structures in v8's SConstruct/SConscript: LIBRARY_FLAGS = { @@ -241,6 +241,7 @@ SOURCES = { x64/stub-cache-x64.cc """), 'os:freebsd': ['platform-freebsd.cc', 'platform-posix.cc'], + 'os:openbsd': ['platform-openbsd.cc', 'platform-posix.cc'], 'os:linux': ['platform-linux.cc', 'platform-posix.cc'], 'os:macos': ['platform-macos.cc', 'platform-posix.cc'], 'os:solaris': ['platform-solaris.cc', 'platform-posix.cc'], @@ -304,6 +305,8 @@ def get_options(): os_string = 'os:freebsd' elif solaris: os_string = 'os:solaris' + elif openbsd: + os_string = 'os:openbsd' else: os_string = 'os:nullos' |