summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index af311d3..24d28cc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,7 +6,7 @@ LD=$(pwd)/cc/toolchain/build-binutils/bin/x86_64-pc-osmora-ld
ARCH="amd64"
MD_CFLAGS="-mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -mno-avx -mno-avx2"
-CFLAGS="-nostdlib -nostdinc -ffreestanding -mcmodel=kernel -fno-stack-protector $MD_CFLAGS"
+CFLAGS="-Wno-attributes -nostdlib -nostdinc -ffreestanding -mcmodel=kernel -fno-stack-protector -D_KERNEL $MD_CFLAGS"
AC_SUBST(SYS_CFLAGS, [$CFLAGS])
AC_SUBST(CC, [$CC])