warnings fixed well enough; added -Werror to Makefile

This commit is contained in:
Levi Neely 2024-06-30 10:42:11 +02:00
parent 9541ea1f1e
commit 5a7d2f2e3d
1 changed files with 1 additions and 13 deletions

View File

@ -4,19 +4,7 @@ RANLIB=ranlib
#USESSL=openssl
USESSL=mbed
#CFLAGS=-Wall -Wpointer-arith -O2 -g -mtune=core2
#CFLAGS=-Wunused-parameter -O2 -g -fno-stack-protector -fomit-frame-pointer -mtune=core2 -I../sqlite -fPIC
# TODO: fix unused parameters
CFLAGS=-O2 -g -fno-stack-protector -fomit-frame-pointer -mtune=core2 -I../sqlite -fPIC
#CFLAGS=-Wall -Wpointer-arith -O2 -g -fsanitize=address -mtune=core2
#CFLAGS=-Wall -Wpointer-arith -O2 -g -fsanitize=address -mtune=core2 -I../sqlite
#CFLAGS=-Wall -Wpointer-arith -Os -g -mtune=core2 -I../sqlite -pg
#CFLAGS=-Wall -Wpointer-arith -O2 -g -fno-stack-protector -fomit-frame-pointer -mtune=core2 -I../sqlite/ -fPIC
#CFLAGS=-Wall -Wpointer-arith -O2 -g -mtune=core2 -I../sqlite -pg -m32 -D_FILE_OFFSET_BITS=64
#CFLAGS=-O2 -g -pg
#CFLAGS=-Wall -Wpointer-arith -O2 -g -mtune=core2 -I../../psync32/zlib -I../../psync32/sqlite -m32 -D_FILE_OFFSET_BITS=64
CFLAGS=-Werror -O2 -g -fno-stack-protector -fomit-frame-pointer -mtune=core2 -I../sqlite -fPIC
LIB_A=psynclib.a
UNAME_S := $(shell uname -s)