diff options
| author | Aleksa Vuckovic <aleksav013@gmail.com> | 2022-08-08 21:25:55 +0200 |
|---|---|---|
| committer | Aleksa Vuckovic <aleksav013@gmail.com> | 2022-08-08 21:26:37 +0200 |
| commit | e11298e56be560de64bbccfe74fef7ff85c623d1 (patch) | |
| tree | d8323a711d0887bd1ef0c55025d93a9b551cc7aa /Makefile | |
| parent | 0162997df4ae7769bd4fc055b2c03b473846d1f5 (diff) | |
stdio.h; gcc $(WARNINGS)
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -7,7 +7,12 @@ LD = $(ARCH)ld OBJDUMP = $(ARCH)objcopy OBJCOPY = $(ARCH)objdump -CFLAGS = -Wall -Werror -Wno-error=infinite-recursion -O -fno-omit-frame-pointer +WARNINGS := -Wall -Werror -Wextra -pedantic -Wshadow -Wpointer-arith \ + -Wcast-align -Wwrite-strings -Wmissing-prototypes \ + -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline \ + -Wno-long-long -Wconversion -Wstrict-prototypes + +CFLAGS = $(WARNINGS) -Wno-error=infinite-recursion -O -fno-omit-frame-pointer # -mgeneral-regs-only disables SIMD instructions CFLAGS += -MD -O3 -mgeneral-regs-only -mcmodel=large CFLAGS += -ffreestanding -fno-common -nostdlib |
