diff options
| author | Ian Moffett <ian@osmora.org> | 2025-11-20 19:45:33 -0500 |
|---|---|---|
| committer | Ian Moffett <ian@osmora.org> | 2025-11-20 19:45:33 -0500 |
| commit | f796cdac01416064ab2b9cfd302032f09799ac18 (patch) | |
| tree | 41902420447b2ddec026a131383797e863366cf4 /configure.ac | |
| parent | c6e78672d3f658777df7df7e1f5c8c4511b07929 (diff) | |
build: Add extra cflags
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index cb2e4a4..13459ef 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,8 @@ 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 -mno-80387" -CFLAGS="-Wno-attributes -nostdlib -nostdinc -ffreestanding -mcmodel=kernel -fno-stack-protector -D_KERNEL $MD_CFLAGS" +CFLAGS="-Wno-attributes -nostdlib -nostdinc -ffreestanding -mcmodel=kernel -fno-stack-protector \\ + --std=gnu11 -fexceptions -D_KERNEL $MD_CFLAGS" AC_SUBST(SYS_CFLAGS, [$CFLAGS]) AC_SUBST(CC, [$CC]) |
