brintos

brintos / linux-shallow public Read only

0
0
Text · 602 B · ad7d139 Raw
12 lines · c
1/*2 * Dummy gnu/stubs.h. clang can end up including /usr/include/gnu/stubs.h when3 * compiling BPF files although its content doesn't play any role. The file in4 * turn includes stubs-64.h or stubs-32.h depending on whether __x86_64__ is5 * defined. When compiling a BPF source, __x86_64__ isn't set and thus6 * stubs-32.h is selected. However, the file is not there if the system doesn't7 * have 32bit glibc devel package installed leading to a build failure.8 *9 * The problem is worked around by making this file available in the include10 * search paths before the system one when building BPF.11 */12