summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-11-15 15:58:13 -0500
committerIan Moffett <ian@osmora.org>2025-11-15 15:58:13 -0500
commite7c6d41ed56d36591019eb2d939b1de52692c1a8 (patch)
tree6e0837619bc58f71165e5bfcefca068db9c467f1 /configure.ac
parent4fbce6328476345d62998e19187e6076feb02515 (diff)
build: Ignore attributes warning
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'configure.ac')
-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])