mirror of
https://github.com/tailix/libkernaux.git
synced 2024-12-04 11:25:18 -05:00
Specify C99 standard in autoconf
This commit is contained in:
parent
23b9c941f2
commit
df25b8d61d
2 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,7 @@ Configure with cross-compiler in `$PATH` to make without it in `$PATH`:
|
||||||
AR="$(which i686-elf-ar)" \
|
AR="$(which i686-elf-ar)" \
|
||||||
CC="$(which i686-elf-gcc)" \
|
CC="$(which i686-elf-gcc)" \
|
||||||
RANLIB="$(which i686-elf-ranlib)" \
|
RANLIB="$(which i686-elf-ranlib)" \
|
||||||
CFLAGS='-std=gnu99 -ffreestanding -nostdinc -nostdlib -fno-builtin -fno-stack-protector -Wall -Wextra'
|
CFLAGS='-ffreestanding -nostdinc -nostdlib -fno-builtin -fno-stack-protector -Wall -Wextra'
|
||||||
```
|
```
|
||||||
|
|
||||||
Check if compilation targets i386: `objdump -d src/arch/i386.o`.
|
Check if compilation targets i386: `objdump -d src/arch/i386.o`.
|
||||||
|
|
|
@ -20,6 +20,7 @@ AC_LANG([C])
|
||||||
AM_PROG_AR
|
AM_PROG_AR
|
||||||
AM_PROG_AS
|
AM_PROG_AS
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
|
AC_PROG_CC_C99
|
||||||
AC_PROG_RANLIB
|
AC_PROG_RANLIB
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
Loading…
Reference in a new issue