diff options
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.py b/configure.py index ca8ba74..6ea53c1 100755 --- a/configure.py +++ b/configure.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright 2001 Google Inc. All Rights Reserved. +# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -117,6 +117,8 @@ else: '-fno-exceptions', '-fvisibility=hidden', '-pipe', "'-DNINJA_PYTHON=\"%s\"'" % (options.with_python,)] + if platform == 'linux': + cflags += ['-DOS_LINUX'] if options.debug: cflags += ['-D_GLIBCXX_DEBUG', '-D_GLIBCXX_DEBUG_PEDANTIC'] else: |