2 # Copyright (c) 2014 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
8 # This component implements NaCl IRT interfaces in terms of POSIX APIs.
9 if not env.Bit('posix'):
12 # Since we are only targeting Unix, not Windows/MSVC, we can use C99
14 env.FilterOut(CFLAGS='-Wdeclaration-after-statement')
15 # Complaints about unused function arguments are too noisy.
16 env.Append(CCFLAGS='-Wno-unused-parameter')
17 # TODO(mseaborn): We can enforce -Wstrict-prototypes after the uses of
18 # DEFINE_STUB/USE_STUB are gone.
19 env.FilterOut(CFLAGS='-Wstrict-prototypes')
21 env.ComponentLibrary('irt_nonsfi', ['irt_interfaces.c'])