diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-12-16 23:56:31 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-12-16 23:56:31 -0500 |
commit | c218fea5eeff80e11e9b71c29f9cbbcc945019e5 (patch) | |
tree | b4385a6b83365fb914f83d8092bcc521073d462d /Makefile | |
parent | ad962d56e2d06110e026888f2731a2c7fff88604 (diff) | |
download | bfs-c218fea5eeff80e11e9b71c29f9cbbcc945019e5.tar.xz |
Fix the build on OpenIndiana
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -25,7 +25,15 @@ INSTALL ?= install DESTDIR ?= PREFIX ?= /usr -LOCAL_CPPFLAGS := -D_DEFAULT_SOURCE -D_GNU_SOURCE -DBFS_VERSION=\"$(VERSION)\" +LOCAL_CPPFLAGS := \ + -D_POSIX_C_SOURCE=200809L \ + -D_DEFAULT_SOURCE \ + -D_BSD_SOURCE \ + -D_GNU_SOURCE \ + -D_ATFILE_SOURCE \ + -D__EXTENSIONS__ \ + -DBFS_VERSION=\"$(VERSION)\" + LOCAL_CFLAGS := -std=c99 ALL_CPPFLAGS = $(LOCAL_CPPFLAGS) $(CPPFLAGS) |