diff options
author | Michael Forney <mforney@mforney.org> | 2019-04-16 01:25:18 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-04-16 01:27:10 -0700 |
commit | fbd879d73cf13fc18db3d221db92ab88cff0a3de (patch) | |
tree | ace87c58bc872a89cb3e2f408c3335ad3fa48388 /config.def.h | |
parent | fe0e8f78915e81602a5da33c50c47fafbc344d1b (diff) |
Use a single section for alternate keyword defines
https://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 8 |
1 files 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"}; |