summaryrefslogtreecommitdiff
path: root/pit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pit/Makefile')
-rw-r--r--pit/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/pit/Makefile b/pit/Makefile
index 0a9da88..2d71a7c 100644
--- a/pit/Makefile
+++ b/pit/Makefile
@@ -3,7 +3,7 @@ EXE ?= pit
CC ?= gcc
AR ?= ar
override CPPFLAGS += -MMD -MP
-override CFLAGS += -fPIC --std=c99 -g -Ideps/ -Isrc/ -Iinclude/ -Wall -Wextra -Wpedantic -Wconversion -Wformat-security -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wnull-dereference -Wfloat-equal -Wundef -Wpointer-arith -Wbad-function-cast -Wlogical-op -Wmissing-braces -Wcast-align -Wstrict-overflow=5 -fwrapv # -ftrapv
+override CFLAGS += -O2 -fPIC --std=c99 -g -Ideps/ -Isrc/ -Iinclude/ -Wall -Wextra -Wpedantic -Wconversion -Wformat-security -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wnull-dereference -Wfloat-equal -Wundef -Wpointer-arith -Wbad-function-cast -Wlogical-op -Wmissing-braces -Wcast-align -Wstrict-overflow=5 -fwrapv # -ftrapv
override LDFLAGS += -g -static
BUILD = build_$(CC)