diff options
author | Marvin Borner | 2020-11-05 17:30:39 +0100 |
---|---|---|
committer | Marvin Borner | 2020-11-05 17:32:53 +0100 |
commit | 63e86f792167e6cc2e9600d00b184a3c83fe7498 (patch) | |
tree | 31e2d583be3ebf34782f6ec37f6c524657c40686 /libtxt | |
parent | 916fca2161e76de67a5106b90baf00a57f2a0512 (diff) |
Added warning flags and fixed them :)
Diffstat (limited to 'libtxt')
-rw-r--r-- | libtxt/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libtxt/Makefile b/libtxt/Makefile index 3731aa2..436cb3b 100644 --- a/libtxt/Makefile +++ b/libtxt/Makefile @@ -5,7 +5,8 @@ CC = ccache ../cross/opt/bin/i686-elf-gcc LD = ccache ../cross/opt/bin/i686-elf-ld AR = ccache ../cross/opt/bin/i686-elf-ar -CFLAGS = -Wall -Wextra -nostdlib -nostdinc -fno-builtin -mgeneral-regs-only -std=c99 -m32 -pedantic-errors -Iinc/ -I../libc/inc/ -fPIE -Duserspace -Ofast +WARNINGS = -Wall -Wextra -pedantic-errors -Wshadow -Wpointer-arith -Wwrite-strings -Wredundant-decls -Wnested-externs -Wno-long-long +CFLAGS = $(WARNINGS) -nostdlib -nostdinc -fno-builtin -mgeneral-regs-only -std=c99 -m32 -Iinc/ -I../libc/inc/ -fPIE -Duserspace -Ofast all: libtxt |