2 # Copyright (c) 2011 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.
12 # Now build x86_64 specific library.
15 if not env.Bit('target_x86_64'): Return()
17 # Create environment for command-line tool usage.
20 cl_env.Append(CPPPATH=['${TARGET_ROOT}'])
21 cl_env.Append(CCFLAGS=['-DNACL_TRUSTED_BUT_NOT_TCB'])
22 cl_env.FilterOut(CCFLAGS=['-Wextra', '-Wswitch-enum', '-Wsign-compare'])
24 cl_env.ComponentLibrary('ncvalidate_x86_64', ['ncvalidate.c'])
26 cl_env.ComponentLibrary('ncvalidate_verbose_x86_64', ['ncvalidate_verbose.c'])