summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2021-08-04 18:17:16 +0100
committerJohn-Mark Bell <jmb@netsurf-browser.org>2021-08-04 18:17:16 +0100
commit79795e3a7aca6fc33b40f264c412753acbb4bdf9 (patch)
treead197809d17779498847d6c6653fc43fd411bbed /Makefile
parentfd46602bebc21183c965883cae3610c971191b19 (diff)
downloadttf2f-79795e3a7aca6fc33b40f264c412753acbb4bdf9.tar.gz
ttf2f-79795e3a7aca6fc33b40f264c412753acbb4bdf9.tar.bz2
Squash deprecation warning with modern glibc
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 824b3b2..23f312f 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,8 @@ include $(NSSHARED)/makefiles/Makefile.tools
WARNFLAGS := -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs -Werror #-pedantic
-CFLAGS := $(CFLAGS) -std=c99 -D_BSD_SOURCE -D_POSIX_C_SOURCE \
+CFLAGS := $(CFLAGS) -std=c99 \
+ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE \
-I$(CURDIR)/include/ -I$(CURDIR)/src $(WARNFLAGS) -Dasm="__asm"
# Freetype2