1 |
diff --git a/Makefile b/Makefile |
2 |
index a93b10a6757a..518bab0aaf78 100644 |
3 |
--- a/Makefile |
4 |
+++ b/Makefile |
5 |
@@ -538,6 +538,10 @@ check-symbols: startup_files libc |
6 |
-U__GNUC_PATCHLEVEL__ \ |
7 |
-U__VERSION__ \ |
8 |
-U__FLOAT128__ \ |
9 |
+ -U__NO_MATH_ERRNO__ \ |
10 |
+ -U__BITINT_MAXWIDTH__ \ |
11 |
+ | grep -vE '^#define __(BOOL|INT|LLONG|LONG|SHRT)_WIDTH__' \ |
12 |
+ | grep -vE '^#define __INT_(FAST|LEAST)(8|16|32|64)_WIDTH__' \ |
13 |
| sed -e 's/__[[:upper:][:digit:]]*_ATOMIC_\([[:upper:][:digit:]_]*\)_LOCK_FREE/__compiler_ATOMIC_\1_LOCK_FREE/' \ |
14 |
| grep -v '^#define __FLT16_' \ |
15 |
> "$(SYSROOT_SHARE)/predefined-macros.txt" |