| Index: src/nonsfi/loader/build.scons
|
| diff --git a/src/nonsfi/loader/build.scons b/src/nonsfi/loader/build.scons
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..235063c36492cd0069eb6673c4e6fca31633dc5c
|
| --- /dev/null
|
| +++ b/src/nonsfi/loader/build.scons
|
| @@ -0,0 +1,19 @@
|
| +# -*- python -*-
|
| +# Copyright (c) 2014 The Native Client Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +Import('env')
|
| +
|
| +# We could build nonsfi_loader on Mac OS X, but for now we are only testing
|
| +# this on Linux.
|
| +if not env.Bit('linux'):
|
| + Return()
|
| +
|
| +# Since we are only targeting Unix, not Windows/MSVC, we can use C99
|
| +# language features.
|
| +env.FilterOut(CFLAGS='-Wdeclaration-after-statement')
|
| +
|
| +env.ComponentProgram('nonsfi_loader',
|
| + ['elf_loader.c'],
|
| + EXTRA_LIBS=['irt_nonsfi', 'platform'])
|
|
|