From e3e7db9e862d6d63b9cebf756d76875e3d9729b0 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Thu, 7 Oct 2021 16:36:08 -0400 Subject: enable warnings ROFL, warnings were disabled. also enabled -O2 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index eda232a..b758288 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ DEBS = ../tuntox_$(DEB_VERSION)_$(DEB_ARCH).deb ../tuntox-dbgsym_$(DEB_VERSION)_ INCLUDES = client.h gitversion.h log.h mach.h main.h tox_bootstrap.h utarray.h uthash.h util.h utlist.h utstring.h DEPS = toxcore CC = gcc -CFLAGS = -g -Wall #-std=c99 +CFLAGS = -g -W -Wall -O2 -fcompare-debug-second CFLAGS += $(shell pkg-config --cflags $(DEPS)) LDFLAGS = -g -pthread -lm -static -lrt LDFLAGS += $(shell pkg-config --static --libs $(DEPS)) -- cgit v1.2.3