mirror of
git://git.musl-libc.org/musl
synced 2025-01-16 03:41:14 +00:00
exclude vis.h when compiling assembly files
otherwise C declarations are included into preprocessed (.S) asm source files, producing errors from the assembler.
This commit is contained in:
parent
4fcc7eb51c
commit
d1b29c2a54
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user