vars.mk: also set _BSD_SOURCE for rcorder.
--HG-- extra : convert_revision : af3e53086209f56f4b2a3bb14093e3f2571cc717
This commit is contained in:
parent
0ed055c4eb
commit
b509e9eebf
1 changed files with 1 additions and 1 deletions
2
vars.mk
2
vars.mk
|
@ -8,7 +8,7 @@ TOPDIR ?= ..
|
|||
INSTALL_STRIPPED ?= -s
|
||||
|
||||
LDFLAGS += -L$(TOPDIR)/lib -L$(PREFIX)/lib -lxbps
|
||||
CPPFLAGS += -I$(TOPDIR)/include -D_XOPEN_SOURCE=600
|
||||
CPPFLAGS += -I$(TOPDIR)/include -D_BSD_SOURCE -D_XOPEN_SOURCE=600
|
||||
WARNFLAGS ?= -pedantic -std=c99 -Wall -Wextra -Werror -Wshadow -Wformat=2
|
||||
WARNFLAGS += -Wmissing-declarations -Wcomment -Wunused-macros -Wendif-labels
|
||||
CFLAGS += $(WARNFLAGS) -O2 -fPIC -DPIC
|
||||
|
|
Loading…
Reference in a new issue