diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2017-01-06 19:01:02 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2017-01-06 19:01:02 -0500 |
commit | b626b46a51cf40fc91583da63084ef40efebc85e (patch) | |
tree | f3eb1079edd994d0309708aa29ee20251a9fa7c4 /Makefile | |
parent | 385510fd05c5c89e265e9dec478cf7be6f2ff50f (diff) | |
download | bfs-b626b46a51cf40fc91583da63084ef40efebc85e.tar.xz |
Don't set _POSIX_C_SOURCE
The BSD behaviour is to hide all BSD extensions if standard-conformance
feature test macros are present. We don't want strict POSIX, we want
all available extensions, so ask for that.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -26,14 +26,13 @@ DESTDIR ?= PREFIX ?= /usr LOCAL_CPPFLAGS := \ - -D_POSIX_C_SOURCE=200809L \ - -D_DEFAULT_SOURCE \ - -D_BSD_SOURCE \ - -D_GNU_SOURCE \ - -D_ATFILE_SOURCE \ -D__EXTENSIONS__ \ + -D_ATFILE_SOURCE \ + -D_BSD_SOURCE \ -D_DARWIN_C_SOURCE \ + -D_DEFAULT_SOURCE \ -D_FILE_OFFSET_BITS=64 \ + -D_GNU_SOURCE \ -DBFS_VERSION=\"$(VERSION)\" LOCAL_CFLAGS := -std=c99 |