diff options
author | John-Mark Bell <jmb@netsurf-browser.org> | 2021-08-04 18:17:16 +0100 |
---|---|---|
committer | John-Mark Bell <jmb@netsurf-browser.org> | 2021-08-04 18:17:16 +0100 |
commit | 79795e3a7aca6fc33b40f264c412753acbb4bdf9 (patch) | |
tree | ad197809d17779498847d6c6653fc43fd411bbed /Makefile | |
parent | fd46602bebc21183c965883cae3610c971191b19 (diff) | |
download | ttf2f-79795e3a7aca6fc33b40f264c412753acbb4bdf9.tar.gz ttf2f-79795e3a7aca6fc33b40f264c412753acbb4bdf9.tar.bz2 |
Squash deprecation warning with modern glibc
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |