summaryrefslogtreecommitdiff
path: root/ninja/configure.py
diff options
context:
space:
mode:
Diffstat (limited to 'ninja/configure.py')
-rwxr-xr-xninja/configure.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ninja/configure.py b/ninja/configure.py
index 22eb1e57566..c838392895d 100755
--- a/ninja/configure.py
+++ b/ninja/configure.py
@@ -48,7 +48,7 @@ parser.add_option('--with-python', metavar='EXE',
help='use EXE as the Python interpreter',
default=os.path.basename(sys.executable))
parser.add_option('--force-pselect', action='store_true',
- help="ppoll() is used by default on Linux and OpenBSD, but older versions might need to use pselect instead",)
+ help="ppoll() is used by default where available, but some platforms may need to use pselect instead",)
(options, args) = parser.parse_args()
if args:
print('ERROR: extra unparsed command-line arguments:', args)
@@ -165,7 +165,7 @@ else:
cflags.append('-fno-omit-frame-pointer')
libs.extend(['-Wl,--no-as-needed', '-lprofiler'])
-if (platform.is_linux() or platform.is_openbsd()) and not options.force_pselect:
+if (platform.is_linux() or platform.is_openbsd() or platform.is_bitrig()) and not options.force_pselect:
cflags.append('-DUSE_PPOLL')
def shell_escape(str):