summaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-06 03:38:11 +0200
committerMattias Andrée <maandree@kth.se>2021-04-06 03:38:11 +0200
commite99553d3609956d1ecb2b28ceefe28e1b68aecb9 (patch)
tree50ebdc8a2818ecf73893d7b94172de0b8a057a90 /config.mk
parentUse libsimple instead of libcore (diff)
downloadpdatools-e99553d3609956d1ecb2b28ceefe28e1b68aecb9.tar.gz
pdatools-e99553d3609956d1ecb2b28ceefe28e1b68aecb9.tar.bz2
pdatools-e99553d3609956d1ecb2b28ceefe28e1b68aecb9.tar.xz
Add (default) ability to build multicall binary
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 4792a0b..d7a6d60 100644
--- a/config.mk
+++ b/config.mk
@@ -3,6 +3,8 @@ MANPREFIX = $(PREFIX)/share/man
VIDEO_GROUP = video
+CC = cc
+
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
-CFLAGS = -std=c99 -Wall -Wextra -O2 -g $(CPPFLAGS)
-LDFLAGS = -lsimple
+CFLAGS = -std=c99 -Wall -Wextra -Os
+LDFLAGS = -lsimple -s