From: Khem Raj Date: Wed, 20 Jan 2016 18:14:15 +0000 (-0800) Subject: exclude vis.h when compiling assembly files X-Git-Tag: v1.1.13~87 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d1b29c2a54588401494c1a3ac7103c1e91c61fa1;p=oweals%2Fmusl.git exclude vis.h when compiling assembly files otherwise C declarations are included into preprocessed (.S) asm source files, producing errors from the assembler. --- diff --git a/src/internal/vis.h b/src/internal/vis.h index 8414179e..35855fc8 100644 --- a/src/internal/vis.h +++ b/src/internal/vis.h @@ -4,7 +4,7 @@ * override default visibilities to reduce the size and performance costs * of position-independent code. */ -#ifndef CRT +#if !defined(CRT) && !defined(__ASSEMBLER__) /* Conceptually, all symbols should be protected, but some toolchains * fail to support copy relocations for protected data, so exclude all