From d1b29c2a54588401494c1a3ac7103c1e91c61fa1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 20 Jan 2016 10:14:15 -0800 Subject: exclude vis.h when compiling assembly files otherwise C declarations are included into preprocessed (.S) asm source files, producing errors from the assembler. --- src/internal/vis.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1