From fbd879d73cf13fc18db3d221db92ab88cff0a3de Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Tue, 16 Apr 2019 01:25:18 -0700 Subject: Use a single section for alternate keyword defines https://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html --- config.def.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/config.def.h b/config.def.h index a596e25..b482c31 100644 --- a/config.def.h +++ b/config.def.h @@ -26,14 +26,12 @@ static char *preprocesscmd[] = { /* prevent glibc from using statement expressions for assert */ "-D", "__STRICT_ANSI__", - /* required for glibc headers */ + /* ignore attributes */ "-D", "__attribute__(x)=", - /* required for kernel headers */ - "-D", "__signed__=signed", - - /* required for binutils */ + /* alternate keywords */ "-D", "__alignof__=_Alignof", + "-D", "__signed__=signed", }; static char *compilecmd[] = {"cc-qbe"}; static char *codegencmd[] = {"qbe"}; -- cgit v1.2.3