diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2014-07-19 17:44:49 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-07-19 17:44:49 +0200 |
commit | 027333e56aeea20c486702ecfb9571ca45fd14f6 (patch) | |
tree | f05033ff39575abf4010392920caa36b58b3b734 /Makefile | |
parent | 43d34d2473917521376f7d56126779f941205105 (diff) | |
download | xK-027333e56aeea20c486702ecfb9571ca45fd14f6.tar.gz xK-027333e56aeea20c486702ecfb9571ca45fd14f6.tar.xz xK-027333e56aeea20c486702ecfb9571ca45fd14f6.zip |
Fix some compiler warnings
`-Weverything' seems to have found a few problems.
Also enabled clang sanitizers by default.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,7 +2,8 @@ SHELL = /bin/sh CC = clang # -Wunused-function is pretty annoying here, as everything is static and not # all parts of common.c are used in all the executables -CFLAGS = -ggdb -Wall -Wextra -std=c99 -Wno-unused-function +CFLAGS = -std=c99 -Wall -Wextra -Wno-unused-function \ + -ggdb -fsanitize=address,undefined # -lpthread is only there for debugging (gdb & errno) LDFLAGS = `pkg-config --libs libssl` -lpthread |