aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 18:10:26 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 18:10:26 +0200
commit76c910e166d2b1887c5d355df4efec47ec0ce3bd (patch)
treeb5761449486d6cadf6d4e00bd96a92fb5d7890cc /config.mk
parentMerge branch 'rewrite' (diff)
downloadlibhaiku-2.0.1.tar.gz
libhaiku-2.0.1.tar.bz2
libhaiku-2.0.1.tar.xz
Improve makefile, fix warnings, and fix libhaiku_perror linking2.0.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--config.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index c0709b5..f087ea4 100644
--- a/config.mk
+++ b/config.mk
@@ -1,6 +1,8 @@
PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
-CPPFLAGS =
+CC = cc
+
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
CFLAGS = -std=c99 -Wall -O2
LDFLAGS = -s