scripts/build/kernel/windows.sh
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sat Jan 04 01:02:57 2014 +0100 (2014-01-04)
changeset 3271 c65dc9b98841
permissions -rw-r--r--
cc/gcc: diable libsanitizer without NPTL

gcc-4.8 comes with a new library to sanitise memory access:
- heap-, stack-, and global-buffer overflow, use-after-free
- data-races between threads

This library requires some _np parts of the API, which are not
implemented in the (old) LinuxThreads, which is still available
in uClibc.

Since NPTL requires a i486 or above, i386 are stuck with using LT,
which precludes building the libsanitizer.

Disable libsanitizer, a bit like libatomic is.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Niels Penneman <niels@penneman.org>
     1 # This file declares functions to install the kernel headers for mingw64
     2 # Copyright 2012 Yann Diorcet
     3 # Licensed under the GPL v2. See COPYING in the root of this package
     4 
     5 CT_DoKernelTupleValues() {
     6     # Even we compile for x86_64 target architecture, the target OS have to
     7     # bet mingw32 (require by gcc and mingw-w64)
     8     CT_TARGET_KERNEL="mingw32"
     9     CT_TARGET_SYS=
    10 }
    11 
    12 do_kernel_get() {
    13     :
    14 }
    15 
    16 do_kernel_extract() {
    17     :
    18 }
    19 
    20 do_kernel_headers() {
    21    :
    22 }