aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index d11364d..80a2193 100644
--- 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"};