cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit 3c039b17296283392f821cd26c0ef584f0d8fa86
parent fcf3d3d44ba4b8cc41f81615c2a14e76b383127e
Author: Michael Forney <mforney@mforney.org>
Date:   Sun, 24 Feb 2019 16:10:46 -0800

Add __alignof__ definition by default

Diffstat:
Mconfig.def.h | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -28,6 +28,9 @@ static char *preprocesscmd[] = { /* required for kernel headers */ "-D", "__signed__=signed", + + /* required for binutils */ + "-D", "__alignof__=_Alignof", }; static char *compilecmd[] = {"cc-qbe"}; static char *codegencmd[] = {"qbe"};