aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-08-29 17:51:58 +0200
committerMattias Andrée <maandree@kth.se>2018-08-29 17:51:58 +0200
commit951b4d882fa2393369656e05efef3bb229e38c1d (patch)
tree1630753309c5e0d993345d7a4a41cf45dab1cde8 /config.mk
parentAdd readme (diff)
downloadlibsimple-951b4d882fa2393369656e05efef3bb229e38c1d.tar.gz
libsimple-951b4d882fa2393369656e05efef3bb229e38c1d.tar.bz2
libsimple-951b4d882fa2393369656e05efef3bb229e38c1d.tar.xz
Circumvent GCC bugs in test code when optimised
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 67b8e41..2751186 100644
--- a/config.mk
+++ b/config.mk
@@ -1,3 +1,3 @@
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
-CFLAGS = -std=c99 -Wall -Wextra -g $(CPPFLAGS)
-LDFLAGS =
+CFLAGS = -std=c99 -Wall -Wextra -O2 $(CPPFLAGS)
+LDFLAGS = -s