diff options
author | Andrew Cady <d@cryptonomic.net> | 2021-10-07 16:36:08 -0400 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2021-10-07 16:36:08 -0400 |
commit | e3e7db9e862d6d63b9cebf756d76875e3d9729b0 (patch) | |
tree | 8e26b2370291e513a5c8aaee287506ea6c181929 | |
parent | ba7ed80ea14479f154eb2818c99879be13c9f076 (diff) |
enable warnings
ROFL, warnings were disabled.
also enabled -O2
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ DEBS = ../tuntox_$(DEB_VERSION)_$(DEB_ARCH).deb ../tuntox-dbgsym_$(DEB_VERSION)_ | |||
7 | INCLUDES = client.h gitversion.h log.h mach.h main.h tox_bootstrap.h utarray.h uthash.h util.h utlist.h utstring.h | 7 | INCLUDES = client.h gitversion.h log.h mach.h main.h tox_bootstrap.h utarray.h uthash.h util.h utlist.h utstring.h |
8 | DEPS = toxcore | 8 | DEPS = toxcore |
9 | CC = gcc | 9 | CC = gcc |
10 | CFLAGS = -g -Wall #-std=c99 | 10 | CFLAGS = -g -W -Wall -O2 -fcompare-debug-second |
11 | CFLAGS += $(shell pkg-config --cflags $(DEPS)) | 11 | CFLAGS += $(shell pkg-config --cflags $(DEPS)) |
12 | LDFLAGS = -g -pthread -lm -static -lrt | 12 | LDFLAGS = -g -pthread -lm -static -lrt |
13 | LDFLAGS += $(shell pkg-config --static --libs $(DEPS)) | 13 | LDFLAGS += $(shell pkg-config --static --libs $(DEPS)) |