summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2021-10-07 16:36:08 -0400
committerAndrew Cady <d@cryptonomic.net>2021-10-07 16:36:08 -0400
commite3e7db9e862d6d63b9cebf756d76875e3d9729b0 (patch)
tree8e26b2370291e513a5c8aaee287506ea6c181929
parentba7ed80ea14479f154eb2818c99879be13c9f076 (diff)
enable warnings
ROFL, warnings were disabled. also enabled -O2
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)_
7INCLUDES = client.h gitversion.h log.h mach.h main.h tox_bootstrap.h utarray.h uthash.h util.h utlist.h utstring.h 7INCLUDES = client.h gitversion.h log.h mach.h main.h tox_bootstrap.h utarray.h uthash.h util.h utlist.h utstring.h
8DEPS = toxcore 8DEPS = toxcore
9CC = gcc 9CC = gcc
10CFLAGS = -g -Wall #-std=c99 10CFLAGS = -g -W -Wall -O2 -fcompare-debug-second
11CFLAGS += $(shell pkg-config --cflags $(DEPS)) 11CFLAGS += $(shell pkg-config --cflags $(DEPS))
12LDFLAGS = -g -pthread -lm -static -lrt 12LDFLAGS = -g -pthread -lm -static -lrt
13LDFLAGS += $(shell pkg-config --static --libs $(DEPS)) 13LDFLAGS += $(shell pkg-config --static --libs $(DEPS))