diff options
author | Matthew Dempsky <mdempsky@google.com> | 2013-05-01 18:03:27 (GMT) |
---|---|---|
committer | Matthew Dempsky <mdempsky@google.com> | 2013-05-01 18:09:38 (GMT) |
commit | 65a58e37a7dd48cb336668351d1cab3db0e4d5fe (patch) | |
tree | 7c3658339ed087b0d9d078a37867b81be3dc372a /bootstrap.py | |
parent | 4c552c2c3cbc07acce9c1a379fee054a3f680100 (diff) | |
download | Ninja-65a58e37a7dd48cb336668351d1cab3db0e4d5fe.zip Ninja-65a58e37a7dd48cb336668351d1cab3db0e4d5fe.tar.gz Ninja-65a58e37a7dd48cb336668351d1cab3db0e4d5fe.tar.bz2 |
Add support for OpenBSD.
Use ppoll() on OpenBSD. Also, fix interrupt handling to recognize
that on FreeBSD and OpenBSD, an interrupt might have been delivered
even if pselect()/ppoll() don't return -1/EINTR.
Diffstat (limited to 'bootstrap.py')
-rwxr-xr-x | bootstrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap.py b/bootstrap.py index a7a8ba6..0f6aa59 100755 --- a/bootstrap.py +++ b/bootstrap.py @@ -52,7 +52,7 @@ def run(*args, **kwargs): # g++ call as well as in the later configure.py. cflags = os.environ.get('CFLAGS', '').split() ldflags = os.environ.get('LDFLAGS', '').split() -if platform.is_freebsd(): +if platform.is_freebsd() or platform.is_openbsd(): cflags.append('-I/usr/local/include') ldflags.append('-L/usr/local/lib') |