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